/* Speyhawk Services — static site */

@font-face {
	font-family: "Work Sans";
	src: url("../fonts/work-sans-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}
@font-face {
	font-family: "Kumbh Sans";
	src: url("../fonts/kumbh-sans-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--blue: #0a5e8a;
	--blue-dark: #054a6d;
	--blue-accent: #2187b1;
	--navy: #141541;
	--text: #4f627a;
	--bg-light: #e7f0f7;
	--border: #d6e4f1;
	--white: #fff;
	--font-head: "Work Sans", sans-serif;
	--font-body: "Kumbh Sans", sans-serif;
	--container: 1290px;
	--gutter: 15px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg-light);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.62;
	letter-spacing: -0.2px;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	color: var(--navy);
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: normal;
	hyphens: none;
	overflow-wrap: normal;
}
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--blue-accent); outline-offset: 3px; }

.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.center { text-align: center; }

/* Buttons */
.btn {
	display: inline-block;
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 500;
	line-height: 21px;
	color: var(--white);
	padding: 16px 52px;
	transition: background-color .25s ease;
}
.btn-dark { background: var(--blue); font-size: 15px; padding: 13px 36px; }
.btn-dark:hover { background: var(--blue-dark); }
.btn-accent { background: var(--blue-accent); }
.btn-accent:hover { background: var(--blue); }
.btn-hero {
	background: var(--blue-dark);
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 16px;
	padding: 15px 30px;
}
.btn-hero:hover { background: var(--navy); }
.btn-light { background: var(--blue-accent); color: var(--white); padding: 14px 28px; font-weight: 600; }

/* Section headings */
.subtitle {
	display: block;
	margin-bottom: 21px;
	color: var(--navy);
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 500;
	line-height: 18px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}
.section-title { font-size: 47px; line-height: 1.02; }
.section-title-lg { font-size: 57px; line-height: 1; letter-spacing: -1.7px; }
.section-head { text-align: center; }

/* Header */
.site-header { background: var(--white); position: relative; z-index: 10; letter-spacing: normal; }
.header-top {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	align-items: center;
	min-height: 160px;
	max-width: none;
	padding: 0 70px;
}
.header-divider { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 5px var(--gutter); }
.header-divider hr { margin: 0; border: 0; border-top: 1px solid var(--border); }
.header-logo { grid-column: 2; justify-self: center; }
.header-logo img { width: 331px; }
.header-contact {
	grid-column: 3;
	justify-self: end;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 17px 60px;
}
.header-phone {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	margin-right: 20px;
	color: var(--navy);
	font-family: var(--font-head);
	font-size: 22px;
	font-weight: 500;
	white-space: nowrap;
}
.header-phone-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 39px;
	height: 39px;
	border-radius: 50%;
	background: var(--blue);
}
.header-phone-icon svg { width: 17px; height: 17px; fill: var(--white); }
.header-nav-wrap { min-height: 79px; display: flex; align-items: center; justify-content: center; }
.header-nav ul { display: flex; }
.header-nav a {
	position: relative;
	display: block;
	padding: 15px 19.5px;
	color: var(--navy);
	font-family: var(--font-head);
	font-size: 17px;
	font-weight: 500;
	transition: color .2s ease;
}
.header-nav a::after {
	content: "";
	position: absolute;
	left: 19.5px;
	right: 19.5px;
	bottom: 13px;
	height: 2px;
	background: var(--blue);
	transform: scaleX(0);
	transition: transform .25s ease;
}
.header-nav a:hover, .header-nav .is-current a { color: var(--blue); }
.header-nav a:hover::after, .header-nav .is-current a::after { transform: scaleX(1); }

.menu-toggle {
	display: none;
	grid-column: 3;
	justify-self: end;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--bg-light);
	align-items: center;
	justify-content: center;
	-webkit-appearance: none;
	appearance: none;
	color: var(--navy);
}
/* The icon is the button background, so it shows on every browser (iOS Safari does not stretch children inside a flex button). */
.menu-toggle { background: var(--bg-light) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M3 6h18M3 12h18M3 18h18%27 fill=%27none%27 stroke=%27%23141541%27 stroke-width=%272%27 stroke-linecap=%27round%27/%3E%3C/svg%3E") center / 22px 22px no-repeat; }
.menu-toggle > * { display: none; }

/* Mobile menu */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 100;
	overflow-y: auto;
	padding: 24px 20px 40px;
	background: var(--blue-dark);
	color: var(--white);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.mobile-menu-head img { width: 200px; }
.mobile-menu-close {
	border: 0;
	background: none;
	color: var(--white);
	font-size: 40px;
	line-height: 1;
	padding: 0 4px;
}
.mobile-menu nav a {
	display: block;
	padding: 6px 0;
	font-family: var(--font-head);
	font-size: 26px;
	font-weight: 500;
	color: rgba(255, 255, 255, .85);
}
.mobile-menu nav .is-current a, .mobile-menu nav a:hover { color: var(--white); }
.mobile-menu-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 36px; }
.mobile-menu-phone { font-family: var(--font-head); font-size: 22px; font-weight: 500; }
.mobile-menu-phone::before { content: "\260E"; margin-right: 10px; }

/* Hero */
.hero {
	display: flex;
	align-items: center;
	min-height: 700px;
	background-size: cover;
	background-position: center;
	background-color: var(--blue);
}
.hero .container { max-width: none; padding: 0 0 0 170px; }
.hero h1 {
	max-width: 840px;
	margin-bottom: 20px;
	color: var(--white);
	font-size: 57px;
	line-height: 1;
	letter-spacing: -1.7px;
}

/* Intro */
.intro { background: var(--white); padding: 50px 0; text-align: center; }
.intro p {
	color: var(--navy);
	font-family: var(--font-head);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.47;
	letter-spacing: normal;
	margin: 0 auto;
}
.intro p + p { margin-top: 33px; }

/* Health & safety */
.safety { background: var(--white); padding: 59px 0 0; text-align: center; }
.safety .section-title { max-width: 770px; margin: 0 auto; }
.section-lead { max-width: 577px; margin: 23px auto 0; }
.accreditations {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 30px;
	padding: 32px 0 0;
}
.accreditations img { width: 190px; margin: 0 auto; }

/* About */
.about { background: var(--white); padding-top: 124px; }
.about-grid { display: grid; grid-template-columns: 594fr 726fr; align-items: center; }
.about-text { max-width: 496px; padding-bottom: 30px; }
.about-text .section-title { margin-bottom: 24px; }
.checklist { margin-top: 45px; display: grid; gap: 13.5px; }
.checklist li { position: relative; padding-left: 30px; font-size: 16px; line-height: 27.54px; }
.checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 14px;
	height: 8px;
	border-left: 3px solid var(--blue);
	border-bottom: 3px solid var(--blue);
	transform: rotate(-45deg);
}
.about-media { position: relative; justify-self: start; margin-left: 102px; padding-bottom: 0; }
.about-media > img { width: 519px; }
.stats {
	position: absolute;
	left: -88px;
	right: -19px;
	bottom: 44px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.stat {
	display: flex;
	flex-direction: column;
	gap: 15px;
	min-height: 174px;
	padding: 30px 37px;
	background: var(--blue-dark);
	color: #fcfcfc;
	font-family: var(--font-head);
	font-weight: 600;
}
.stat-label { font-size: 19px; line-height: 26.6px; }
.stat-value { font-size: 60px; line-height: 1; letter-spacing: -1.8px; }

/* Services */
.services { background: var(--white); padding: 0 0 50px; }
.services .section-head { padding-top: 0; }
.service-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin: 0 0 42px;
}
.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	aspect-ratio: 300 / 453;
	padding: 39px 39px 33px;
	overflow: hidden;
	color: var(--white);
	background-color: #05080d;
	background-size: cover;
	background-position: center;
}
.service-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .3);
	transition: background-color .3s ease-out, opacity .3s ease-out;
}
.service-card:hover::before, .service-card:focus-visible::before { background: var(--blue-accent); opacity: .9; }
.service-card-number,
.service-card-bottom { position: relative; transition: transform .3s ease-out, opacity .3s ease-out; }
.service-card-number {
	font-family: var(--font-head);
	font-size: 24px;
	font-weight: 600;
	line-height: 1;
	opacity: 0;
	transform: translateY(-15px);
}
.service-card-bottom { display: flex; flex-direction: column; transform: translateY(30px); }
.service-card h3 { color: var(--white); font-size: 26.45px; line-height: 1.3; }
.service-card-sub { margin-top: .3em; color: rgba(255, 255, 255, .8); opacity: 0; transition: opacity .3s ease-out; }
.service-card:hover .service-card-number,
.service-card:focus-visible .service-card-number { opacity: 1; transform: none; }
.service-card:hover .service-card-bottom,
.service-card:focus-visible .service-card-bottom { transform: none; }
.service-card:hover .service-card-sub,
.service-card:focus-visible .service-card-sub { opacity: 1; }

/* Clients */
.clients { padding: 120px 0 124px; }
.clients-head {
	display: grid;
	grid-template-columns: 630px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
	padding: 0 15px;
	margin-bottom: 61px;
}
.clients-text { padding-top: 46px; max-width: 568px; justify-self: end; }
.clients-text p { margin-bottom: 26.69px; }
.clients-text p:last-child { margin-bottom: 0; }
.logo-carousel { position: relative; }
.logo-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.logo-track::-webkit-scrollbar { display: none; }
.logo-slide {
	flex: 0 0 33.333%;
	display: flex;
	justify-content: center;
	scroll-snap-align: start;
}
.logo-slide img { width: 150px; }
.logo-dots { display: flex; justify-content: center; gap: 10px; margin-top: -3px; min-height: 28px; align-items: center; }
.logo-dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(20, 21, 65, .2);
}
.logo-dots button[aria-selected="true"] { background: var(--blue); }

/* CTA band */
.cta-band { background: var(--blue-dark); padding: 60px 0; }
.cta-grid { display: grid; grid-template-columns: 880px 1fr; align-items: start; gap: 0; }
.cta-grid h3 { color: var(--white); font-size: 35px; line-height: 1.09; letter-spacing: -1px; }
.cta-grid .btn { justify-self: start; }

/* Why choose us (tabs) */
.why { background: var(--white); padding: 10px 0 0; }
.why .section-title { max-width: 900px; margin: 0 auto; }
.tab-list { display: flex; justify-content: center; margin-top: 10px; }
.tab {
	padding: 22px;
	border: 0;
	background: var(--bg-light);
	color: #000;
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: -0.2px;
	transition: background-color .2s ease, color .2s ease;
}
.tab:hover { color: var(--blue); }
.tab.is-active { background: var(--blue-dark); color: var(--white); }
.tab-panel { display: grid; grid-template-columns: 1fr 644px; gap: 60px; align-items: center; padding-top: 80px; }
.tab-panel[hidden] { display: none; }
.tab-mobile { display: none; }
.tab-text { max-width: 516px; }
.tab-text p { margin: 24px 0 45px; }
.tab-media img { width: 644px; height: 491px; object-fit: cover; }

/* Footer */
.site-footer { background: var(--blue-dark); color: var(--white); padding-top: 114px; margin-top: 2px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-about img { width: 300px; margin-bottom: 16px; }
.footer-about p { font-size: 17px; line-height: 27.54px; }
.site-footer h5 { color: var(--white); font-size: 19px; line-height: 28px; margin: -4px 0 17px; }
.footer-links li, .footer-contact li { font-size: 17px; line-height: 28px; }
.footer-links li + li { margin-top: 13.5px; }
.footer-links a { transition: opacity .2s ease; }
.footer-links a:hover, .footer-contact a:hover { opacity: .75; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact li + li { margin-top: 16px; }
.footer-contact svg { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 5px; fill: currentColor; }
.footer-contact svg[fill="none"] { fill: none; }
.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 88px;
	padding-bottom: 18px;
	font-size: 15px;
	line-height: 28px;
	color: #d4d5f0;
}
.footer-bottom p { margin: 0; }

.to-top {
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	background: var(--blue);
	color: var(--white);
}
.to-top svg { width: 20px; height: 20px; }

/* ---------- Narrow desktop ---------- */
@media (max-width: 1279px) {
	.hero .container { padding-left: 80px; }
	.about-media { margin-left: 40px; }
	.tab-panel { grid-template-columns: 1fr 1fr; }
	.tab-media img { width: 100%; height: auto; }
}

/* ---------- Tablet (values measured from the original site at 768px) ---------- */
@media (max-width: 1024px) {
	:root { --gutter: 30px; }

	/* Header: logo left, menu inline on the right */
	.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 0 var(--gutter); }
	.header-top { display: contents; }
	.header-logo img { width: 151px; }
	.header-contact, .header-divider, .menu-toggle { display: none; }
	.header-nav-wrap { min-height: 0; padding: 0; margin: 0; width: auto; max-width: none; }
	.header-nav a { padding: 15px 13.5px; }
	.header-nav a::after { left: 13.5px; right: 13.5px; }

	.hero .container { padding: 0 0 0 25px; }
	.hero h1 { font-size: 38px; line-height: 38px; letter-spacing: -1.1px; margin-bottom: 30px; }

	.section-title { font-size: 30px; line-height: 33.5px; }
	.section-title-lg { font-size: 38px; line-height: 43px; letter-spacing: -1.1px; }
	.subtitle { line-height: 16px; margin-bottom: 8px; }

	.intro { padding: 51px 0; }
	.intro p { font-size: 17px; line-height: 21px; }
	.intro p + p { margin-top: 25px; }

	.safety { padding-top: 57px; }
	.safety .section-title { max-width: 330px; }
	.safety .section-title br { display: none; }
	.section-lead { max-width: 300px; margin-top: 14px; line-height: 25.5px; }
	.accreditations { grid-template-columns: repeat(6, 1fr); gap: 0; margin: 0 -15px; padding-top: 34px; }
	.accreditations img { width: 90px; }

	.about { padding: 125px 0 4px; }
	.about-grid { grid-template-columns: 325px minmax(0, 1fr); gap: 0; align-items: start; }
	.about-text { max-width: 262px; padding-bottom: 0; }
	.about-text .section-title { margin-bottom: 21px; }
	.about-text p { line-height: 25.6px; }
	.checklist { margin-top: 37px; gap: 12px; max-width: 263px; }
	.checklist li { line-height: 20px; }
	.about-media { margin: 0; justify-self: start; }
	.about-media > img { width: 294px; }
	.stats { left: 0; right: -38px; bottom: 12px; gap: 20px; }
	.stat { min-height: 0; padding: 20px; gap: 3px; }
	.stat-label { font-size: 17px; line-height: 22px; }
	.stat-value { font-size: 51px; line-height: 59px; letter-spacing: -1.5px; }

	.services { padding: 0 0 53px; }
	.service-cards { grid-template-columns: repeat(2, 1fr); gap: 30px; margin: 0 0 41px; }
	.service-card { aspect-ratio: 332 / 365; }
	.service-card h3 { font-size: 25.5px; }

	.clients { padding: 81px 0 60px; }
	.clients-head { grid-template-columns: 326px minmax(0, 1fr); gap: 47px; padding: 0 14px; margin-bottom: 60px; }
	.clients-text { padding-top: 0; max-width: 291px; justify-self: start; }
	.clients-text p { line-height: 26px; }

	.cta-band { padding: 45px 0; }
	.cta-grid { grid-template-columns: 488px minmax(0, 1fr); }
	.cta-grid h3 { font-size: 25px; line-height: 29px; letter-spacing: -0.7px; max-width: 430px; }
	.cta-grid .btn { margin-top: 18px; }

	.why { padding-top: 11px; }
	.tab-list { flex-wrap: nowrap; }
	.tab { flex: 1 1 auto; }
	.tab-panel { grid-template-columns: minmax(0, 1fr) 346px; gap: 30px; padding-top: 60px; }
	.tab-media img { width: 346px; height: 424px; }
	.tab-text p { margin: 15px 0 30px; line-height: 25.5px; }

	.site-footer { padding-top: 80px; }
	.footer-grid { grid-template-columns: 216px 151px 160px; column-gap: 30px; row-gap: 4px; }
	.footer-about img { width: 216px; margin-bottom: 19px; }
	.footer-about p { line-height: 25.8px; }
	.site-footer h5 { font-size: 18px; line-height: 21px; margin: 0 0 17px; }
	.footer-links li { line-height: 20.5px; }
	.footer-links li + li { margin-top: 14px; }
	.footer-col:last-child { grid-column: 1; }
	.footer-contact li { line-height: 25px; }
	.footer-bottom { padding-top: 104px; padding-bottom: 19px; }
}
/* ---------- Mobile (values measured from the original site at 375px) ---------- */
@media (max-width: 767px) {
	:root { --gutter: 20px; }
	body { font-size: 16px; }
	.site-header { display: block; min-height: 0; padding: 0; }
	.header-top { display: grid; grid-template-columns: auto 1fr; min-height: 66px; padding: 0 var(--gutter); }
	.header-nav-wrap { display: none; }
	.menu-toggle { display: flex; grid-column: 2; grid-row: 1; justify-self: end; }
	.header-logo { grid-column: 1; grid-row: 1; justify-self: start; }
	.header-logo img { width: 160px; }

	.hero { min-height: 480px; }
	.hero .container { padding: 0 10px; }
	.hero h1 { max-width: 335px; margin-bottom: 20px; font-size: 34px; line-height: 1.15; letter-spacing: -0.5px; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
	.cta-grid h3 br, .why .section-title br, .safety .section-title br, .get-in-touch .section-title br { display: none; }

	.subtitle { font-size: 13px; line-height: 15px; margin-bottom: 9px; }
	.section-title { font-size: 22px; line-height: 25.5px; }
	.section-title-lg { font-size: 26px; line-height: 30px; letter-spacing: 0; }
	.btn { font-size: 15px; padding: 13px 40px; }
	.btn-hero { font-size: 16px; padding: 15px 30px; }

	.intro { padding: 50px 0 51px; }
	.intro .container { padding: 0 25px; }
	.intro p { font-size: 16px; line-height: 19.75px; }
	.intro p + p { margin-top: 19px; }

	.safety { padding-top: 60px; }
	.section-lead { margin-top: 13px; font-size: 16px; line-height: 21.75px; }
	.accreditations { grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 -10px; padding-top: 34px; }
	.accreditations li { padding: 10px; }
	.accreditations img { width: 99px; max-height: none; }

	.about { padding: 124px 0 0; }
	.about-grid { grid-template-columns: 1fr; row-gap: 23px; }
	.about-text { max-width: none; padding-bottom: 0; }
	.about-text .section-title { margin-bottom: 11px; }
	.about-text p { font-size: 16px; line-height: 21.75px; }
	.checklist { margin-top: 24px; gap: 10px; max-width: none; }
	.checklist li { font-size: 15px; line-height: 19px; }
	.checklist li::before { top: 4px; }
	.about-media { margin: 0; width: 100%; }
	.about-media > img { width: 100%; }
	.stats { position: relative; left: auto; right: auto; bottom: auto; margin-top: -60px; padding: 0; gap: 20px; }
	.stat { min-height: 131px; padding: 18px; gap: 4px; }
	.stat-label { font-size: 16px; line-height: 20px; }
	.stat-value { font-size: 40px; line-height: 47px; letter-spacing: -1.2px; }

	.services { padding: 48px 0 52px; }
	.service-cards { grid-template-columns: 1fr; gap: 20px; margin: 0 0 41px; }
	.service-card { aspect-ratio: 335 / 318; padding: 39px 29px 24px; }
	.service-card h3 { font-size: 24px; }

	.clients { padding: 54px 0 15px; }
	.clients-head { grid-template-columns: 1fr; gap: 22px; padding: 0 10px; margin-bottom: 78px; }
	.clients-text { padding-top: 0; justify-self: start; }
	.clients-text p { font-size: 16px; line-height: 23.67px; margin-bottom: 21px; }
	.logo-slide { flex-basis: 100%; }
	.logo-dots { margin-top: 0; min-height: 24px; }

	.cta-band { padding: 30px 0; }
	.cta-grid { grid-template-columns: 1fr; row-gap: 82px; }
	.cta-grid h3 { font-size: 20px; line-height: 24px; letter-spacing: 0; max-width: 295px; }
	.cta-grid .btn { margin-top: 0; }

	/* Tabs become an accordion, like the original */
	.why { padding: 10px 0 0; }
	.tab-list { display: none; }
	.tab-mobile {
		display: block;
		width: 100%;
		margin-top: 10px;
		padding: 16px 20px;
		border: 0;
		background: var(--bg-light);
		color: #000;
		font-family: var(--font-head);
		font-size: 16px;
		font-weight: 600;
		line-height: 20px;
		letter-spacing: -0.2px;
		text-align: left;
	}
	.tabs > .tab-mobile:first-of-type { margin-top: 10px; }
	.tab-mobile.is-active { background: var(--blue-dark); color: var(--white); }
	.tab-panel { grid-template-columns: 1fr; gap: 0; padding: 25px 0 25px; }
	.tab-media { order: -1; margin-bottom: 20px; }
	.tab-media img { width: 100%; height: 250px; }
	.tab-text p { margin: 11px 0 21px; font-size: 16px; line-height: 21.75px; }

	.site-footer { padding-top: 58px; }
	.footer-grid { grid-template-columns: 1fr; row-gap: 33px; }
	.footer-col:last-child { grid-column: auto; }
	.footer-about img { width: 100%; margin-bottom: 18px; }
	.footer-about p { font-size: 16px; line-height: 23.25px; }
	.site-footer h5 { font-size: 18px; line-height: 21px; margin: 0 0 17px; }
	.footer-links li { line-height: 21px; }
	.footer-links li + li { margin-top: 9.5px; }
	.footer-col:last-child { margin-top: 21px; }
	.footer-contact { padding-left: 0; }
	.footer-contact li { font-size: 16px; line-height: 20px; }
	.footer-contact li + li { margin-top: 20px; }
	.footer-contact svg { margin-top: 3px; }
	.footer-bottom { flex-direction: column; align-items: center; text-align: center; padding-top: 91px; padding-bottom: 17px; gap: 16px; }
	.footer-bottom p:first-child { max-width: 274px; }

	.to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }
}

/* ===================== Inner pages ===================== */

/* Dark title band at the top of inner pages */
.page-title { background: var(--blue-dark); min-height: 200px; display: flex; align-items: center; text-align: center; }
.page-title h1 { color: var(--white); font-size: 57px; line-height: 1; letter-spacing: -1.7px; }

/* About page */
.about-page { background: var(--white); padding: 100px 0 0; }
.about-page-grid { display: grid; grid-template-columns: 630px minmax(0, 1fr); gap: 30px; align-items: center; }
.about-page-text { padding-bottom: 18px; }
.about-page-text .section-title { margin-bottom: 21px; }
.about-page-text p { margin-bottom: 27px; }
.about-collage { position: relative; height: 553px; }
.collage-main { position: absolute; right: 0; top: 0; width: 502px; }
.collage-small { position: absolute; left: 0; top: 144px; width: 409px; z-index: 2; box-shadow: 0 0 40px 12px rgba(0, 0, 0, .05); }
.collage-badge { position: absolute; left: -90px; top: 71px; width: 150px; z-index: 3; }

.counters { background: var(--white); padding: 57px 0 101px; }
.counters-grid { display: grid; grid-template-columns: 300fr 343fr 257fr 300fr; gap: 30px; text-align: center; }
.counter { display: flex; flex-direction: column; }
.counter-value { color: var(--navy); font-family: var(--font-head); font-size: 48px; font-weight: 600; line-height: 1; }
.counter-label { margin-top: 0; color: var(--text); font-family: var(--font-head); font-size: 19px; font-weight: 500; line-height: 26px; }

/* "Get in touch" banner (About Us and Our Services) */
.get-in-touch {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 547px;
	background-size: cover;
	background-position: center;
	text-align: center;
}
.get-in-touch::before { content: ""; position: absolute; inset: 0; background: rgba(20, 22, 65, .4); }
.get-in-touch .container { position: relative; padding-bottom: 22px; }
.get-in-touch .subtitle, .get-in-touch .section-title { color: #fcfcfc; }
.get-in-touch .section-title { margin-bottom: 21px; }
.get-in-touch .btn { padding: 16px 52px; }

/* About page reuses the accreditations block with extra room below */
.about-page ~ .safety { padding-top: 59px; }
.about-page ~ .safety .accreditations { padding-bottom: 60px; }

/* Our Services page */
.services-page { background: var(--white); padding: 0 0 80px; }
.service-cards-3 { grid-template-columns: repeat(3, 1fr); margin: 0; }
.service-cards-3 .service-card { aspect-ratio: 410 / 619; }

/* Contact page */
.contact-page { background: var(--white); padding: 40px 0 37px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.contact-icon { width: 58px; height: 58px; margin: 0 auto 22px; color: var(--blue-dark); }
.contact-item h4 { font-size: 22.66px; line-height: 1.2; letter-spacing: -0.56px; margin-bottom: 14px; }
.contact-item p { font-size: 16px; line-height: 26px; }
.contact-item a:hover { color: var(--blue); }

/* Single service page */
.service-single { padding: 120px 0 126px; }
.service-article { display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 48px; align-items: start; }
.service-title { grid-column: 1 / -1; font-size: 40.8px; line-height: 1.2; letter-spacing: -1.7px; margin: 44px 0 32px; }
.service-image { width: 300px; }
.service-body h5 { margin: 32px 0 19px; font-size: 24px; line-height: 1.42; }
.service-body p { margin-bottom: 26.7px; }
.service-body ul, .service-body ol { padding-left: 0; margin: 0; list-style-position: outside; }
.service-body ol { padding-left: 25px; }
.service-body h5 strong { font-weight: 700; }
.service-body ul { list-style: disc; }
.service-body ol { list-style: decimal; }

/* Enquiry form */
.enquiry-form { margin-top: 85px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.form-field { display: block; margin-bottom: 22px; }
.enquiry-form input[type="text"],
.enquiry-form input[type="email"],
.enquiry-form textarea {
	width: 100%;
	padding: 9.6px 0;
	border: 0;
	border-bottom: 1px solid var(--border);
	border-radius: 0;
	background: transparent;
	color: var(--text);
	font: 16px/24px var(--font-body);
	transition: border-color .2s ease;
}
.enquiry-form textarea { display: block; height: 160px; resize: vertical; }
.enquiry-form input:focus, .enquiry-form textarea:focus { outline: none; border-bottom-color: var(--blue); }
.enquiry-form ::placeholder { color: var(--text-light, #859aad); opacity: 1; }
.form-consent { display: flex; align-items: center; gap: 12px; min-height: 28px; margin-bottom: 22px; font-size: 14px; line-height: 22px; }
.form-consent input { width: 13px; height: 13px; margin: 0; accent-color: var(--blue); }
.btn-submit { border: 0; padding: 16px 52px; font-size: 16px; margin-bottom: 22px; }
.form-message { margin-bottom: 24px; padding: 14px 18px; border-left: 4px solid; background: var(--white); }
.form-message-ok { border-color: #2e8b57; color: #1f5f3b; }
.form-message-error { border-color: #c0392b; color: #8e2a20; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 404 */
.not-found { background: var(--white); padding: 80px 0; text-align: center; }
.not-found p { margin-bottom: 30px; }

/* ---------- Inner pages: tablet (values measured from the original site at 768px) ---------- */
@media (max-width: 1024px) {
	.page-title { min-height: 200px; }
	.page-title h1 { font-size: 38px; line-height: 44px; letter-spacing: -1.1px; }

	.about-page { padding: 101px 0 34px; }
	.about-page-grid { grid-template-columns: 324px minmax(0, 1fr); gap: 18px; align-items: start; }
	.about-page-text { padding-bottom: 0; }
	.about-page-text p { line-height: 26.8px; margin-bottom: 20px; }
	.about-page-text p:last-child { margin-bottom: 0; }
	.about-collage { width: 351px; height: 306px; margin: 90px 0 0; }
	.collage-main { width: 265px; left: 86px; right: auto; top: 0; }
	.collage-small { width: 215px; left: 20px; top: 91px; }
	.collage-badge { width: 150px; left: 0; top: 10px; }

	.counters { padding: 52px 0 103px; }
	.counters-grid { grid-template-columns: minmax(0, 152fr) minmax(0, 222fr) minmax(0, 150fr) minmax(0, 169fr); gap: 0; }
	.counter { padding: 0 8px; }
	.counter-value { font-size: 48px; }
	.counter-label { font-size: 17px; line-height: 22px; margin: 0 auto; }

	.get-in-touch { min-height: 435px; }
	.get-in-touch .section-title { max-width: 620px; margin-left: auto; margin-right: auto; }

	.services-page { padding: 0 0 50px; }
	.service-cards-3 { grid-template-columns: repeat(2, 1fr); gap: 30px; }
	.service-cards-3 .service-card { aspect-ratio: 332 / 365; }

	.contact-page { padding: 40px 0 34px; }
	.contact-grid { gap: 30px; }
	.contact-item p { overflow-wrap: anywhere; }

	.service-single { padding: 80px 0 60px; }
	.service-title { margin-top: 30px; }
	.service-body p { line-height: 26px; margin-bottom: 23px; }
	.service-body h5 { font-size: 19px; line-height: 24px; margin: 25px 0 15px; }
	.service-body li { line-height: 26px; }
}

/* ---------- Inner pages: mobile (values measured from the original site at 375px) ---------- */
@media (max-width: 767px) {
	.page-title { min-height: 200px; }
	.page-title h1 { font-size: 26px; line-height: 30px; letter-spacing: 0; }

	.about-page { padding: 100px 0 0; }
	.about-page-grid { grid-template-columns: 1fr; gap: 0; }
	.about-page-text { padding-bottom: 23px; }
	.about-page-text .section-title { margin-bottom: 23px; }
	.about-page-text p { font-size: 16px; line-height: 23px; margin-bottom: 20px; }
	.about-page-text p:last-child { margin-bottom: 0; }
	.about-collage { width: 100%; max-width: none; height: 315px; margin: 0; aspect-ratio: auto; }
	.collage-main { width: 234px; left: auto; right: 0; top: 30px; }
	.collage-small { left: 0; top: 113px; width: 201px; }
	.collage-badge { left: 30px; right: auto; top: 70px; bottom: auto; width: 80px; }

	.counters { padding: 57px 0 101px; }
	.counters-grid { grid-template-columns: 1fr; gap: 40px; }
	.counter { padding: 0; }
	.counter-value { font-size: 48px; line-height: 57px; letter-spacing: -0.2px; }
	.counter-label { font-size: 16px; line-height: 14px; margin-top: 0; max-width: none; }

	.get-in-touch { min-height: 326px; padding: 0; }
	.get-in-touch .container { padding-top: 29px; padding-bottom: 0; }
	.get-in-touch .section-title { max-width: 300px; margin: 0 auto 23px; }

	.services-page { padding: 0 0 50px; }
	.service-cards-3 { grid-template-columns: 1fr; gap: 20px; }
	.service-cards-3 .service-card { aspect-ratio: 335 / 318; }

	.contact-page { padding: 33px 0 40px; }
	.contact-grid { grid-template-columns: 1fr; gap: 12px; }
	.contact-icon { height: 64px; margin-bottom: 8px; }
	.contact-item h4 { font-size: 20.8px; line-height: 24px; margin-bottom: 9px; }
	.contact-item p { line-height: 24px; }
	.contact-item p br { display: block; }

	.service-single { padding: 50px 0 42px; }
	.service-article { grid-template-columns: 1fr; }
	.service-title { font-size: 28.8px; line-height: 34px; letter-spacing: 0; margin: 25px 0 24px; }
	.btn-submit { font-size: 15px; padding: 13px 40px; }
	.service-image { width: 100%; margin-bottom: 50px; }
	.service-body p { font-size: 16px; line-height: 24.5px; margin-bottom: 15.5px; }
	.service-body h5 { font-size: 17px; line-height: 21px; margin: 17.5px 0 12px; }
	.service-body li { font-size: 16px; line-height: 24.5px; }
	.service-body li + li { margin-top: 0; }
	.service-body ul { padding-left: 20px; }
	.service-body ol { padding-left: 24px; }
	.enquiry-form { margin-top: 21px; }
	.form-row { grid-template-columns: 1fr; gap: 0; }
	.form-consent { align-items: flex-start; }
}

/* ===================== Readability spacing (October 2026) =====================
   More breathing room between sections, headings and content on every page. */

/* Desktop */
.section-title { line-height: 1.15; }
.section-title-lg { line-height: 1.12; }
.section-head { margin-bottom: 50px; }

.safety { padding-top: 90px; }
.about { padding-bottom: 110px; }
.services { padding: 100px 0; }
.service-cards { margin-top: 0; }
.clients { padding: 110px 0; }
.why { padding: 100px 0; }
.tab-list { margin-top: 0; }
.tab-panel { padding-top: 60px; }
.tab-text .section-title-lg { margin-bottom: 4px; }

.services-page { padding: 90px 0 100px; }
.contact-page { padding: 80px 0; }
.contact-icon { margin-bottom: 26px; }
.contact-item h4 { margin-bottom: 12px; }
.counters { padding: 70px 0 100px; }

/* Tablet */
@media (max-width: 1024px) {
	.section-title { line-height: 1.18; }
	.section-title-lg { line-height: 1.15; }
	.section-head { margin-bottom: 36px; }
	.safety { padding-top: 70px; }
	.about { padding-bottom: 80px; }
	.services { padding: 70px 0; }
	.clients { padding: 80px 0 70px; }
	.why { padding: 70px 0; }
	.tab-panel { padding-top: 40px; }
	.services-page { padding: 60px 0 70px; }
	.contact-page { padding: 60px 0; }
	.contact-grid { gap: 16px; }
	.contact-item p { font-size: 15px; overflow-wrap: normal; }
	.counters { padding: 50px 0 80px; }
}

/* Mobile */
@media (max-width: 767px) {
	.section-title { line-height: 1.2; }
	.section-title-lg { line-height: 1.2; }
	.section-head { margin-bottom: 28px; }
	.safety { padding-top: 56px; }
	.about { padding-bottom: 0; }
	.services { padding: 64px 0 56px; }
	.clients { padding: 60px 0 40px; }
	.cta-band { padding: 36px 0; }
	.cta-grid { row-gap: 24px; }
	.why { padding: 60px 0 40px; }
	.tabs > .tab-mobile:first-of-type { margin-top: 0; }
	.tab-mobile { margin-top: 10px; }
	.tab-panel { padding: 24px 0 16px; }
	.services-page { padding: 40px 0 60px; }
	.contact-page { padding: 50px 0; }
	.contact-icon { margin-bottom: 14px; }
	.contact-grid { gap: 40px; }
	.counters { padding: 50px 0 70px; }
}

/* Footer credit link */
.footer-credit {
	color: var(--white);
	font-weight: 600;
	border-bottom: 1px solid rgba(255, 255, 255, .5);
	padding-bottom: 1px;
	transition: color .2s ease, border-color .2s ease;
}
.footer-credit:hover, .footer-credit:focus-visible { color: #8fd0ef; border-bottom-color: #8fd0ef; }
