/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Poppins', 'Inter', sans-serif; line-height: 1.2; margin: 0 0 .5em; color: var(--ink-strong); }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }

:root {
	--bg: #f7f9fb;
	--bg-alt: #eef2f5;
	--ink: #3c4650;
	--ink-strong: #10222c;
	--primary: #0e4a63;
	--primary-dark: #0a3648;
	--primary-light: #e7eff2;
	--accent: #e08a2c;
	--accent-dark: #c76f13;
	--border: #dde4e8;
	--radius: 14px;
	--shadow: 0 10px 30px -12px rgba(14, 74, 99, .18);
}

.wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}
.section-narrow { max-width: 780px; }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	background: transparent;
	transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
	background: rgba(247, 249, 251, .92);
	backdrop-filter: saturate(180%) blur(10px);
	box-shadow: 0 1px 0 rgba(16, 34, 44, .06);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 78px;
}
.logo {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	line-height: 1.1;
}
.logo-name {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 1.15rem;
	color: #fff;
	transition: color .3s ease;
}
.logo-tag {
	font-size: .72rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(255,255,255,.75);
	transition: color .3s ease;
}
.site-header.scrolled .logo-name { color: var(--ink-strong); }
.site-header.scrolled .logo-tag { color: var(--primary); }

.main-nav {
	display: flex;
	gap: 8px;
}
.main-nav a {
	text-decoration: none;
	font-weight: 500;
	font-size: .93rem;
	color: rgba(255,255,255,.9);
	padding: 8px 14px;
	border-radius: 999px;
	transition: background .2s ease, color .2s ease;
}
.main-nav a:hover { background: rgba(255,255,255,.15); }
.site-header.scrolled .main-nav a { color: var(--ink); }
.site-header.scrolled .main-nav a:hover { background: var(--primary-light); color: var(--primary-dark); }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
}
.nav-toggle span {
	display: block;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--ink-strong); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	color: #fff;
	overflow: hidden;
}
.hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero-scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(10,25,33,.75) 0%, rgba(10,25,33,.55) 45%, rgba(10,25,33,.85) 100%);
}
.hero-content {
	position: relative;
	z-index: 1;
	padding-top: 78px;
}
.eyebrow {
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .8rem;
	font-weight: 600;
	color: var(--accent);
	margin-bottom: 1em;
}
.hero h1 {
	font-size: clamp(2.4rem, 6vw, 4rem);
	color: #fff;
	margin-bottom: .3em;
}
.hero-lead {
	font-size: 1.25rem;
	color: rgba(255,255,255,.9);
	max-width: 32ch;
}
.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 1.75em;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: .95rem;
	padding: 14px 26px;
	border-radius: 999px;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
	background: var(--accent);
	color: #241202;
	box-shadow: 0 10px 24px -8px rgba(224, 138, 44, .55);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost {
	background: rgba(255,255,255,.1);
	color: #fff;
	border: 1px solid rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn .icon { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Services grid ---------- */
.services {
	position: relative;
	z-index: 2;
	margin-top: -64px;
	padding-bottom: 40px;
}
.services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.service-card {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 28px 22px;
	text-decoration: none;
	color: var(--ink);
	text-align: center;
	transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px -14px rgba(14, 74, 99, .3);
}
.icon-lg {
	width: 40px;
	height: 40px;
	margin: 0 auto 16px;
	stroke: var(--primary);
	fill: none;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.service-card h3 {
	font-size: 1.02rem;
	margin-bottom: .25em;
}
.service-card p {
	font-size: .88rem;
	color: #6b7a84;
	margin: 0;
}

/* ---------- Content sections ---------- */
.section {
	padding: 96px 0;
}
.section-alt {
	background: var(--bg-alt);
}
.section-kicker {
	display: inline-block;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--accent-dark);
	background: rgba(224, 138, 44, .12);
	padding: 5px 12px;
	border-radius: 999px;
	margin-bottom: 1em;
}
.section h2 {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	margin-bottom: .6em;
}
.section h3 {
	font-size: 1.15rem;
	margin-top: 1.6em;
	color: var(--primary-dark);
}
.section h3.cert-heading { margin-top: 2em; }

.video-wrap {
	position: relative;
	padding-top: 56.25%;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	margin-top: 1.5em;
	background: #0a3648;
}
.video-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.video-wrap img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.play-btn {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 84px;
	height: 60px;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
	transition: transform .15s ease;
}
.play-btn:hover { transform: scale(1.08); }
.play-btn svg { width: 100%; height: 100%; }
.video-note {
	font-size: .85rem;
	color: #6b7a84;
	margin-top: .75em;
}
.video-fallback {
	background: var(--primary-light);
	border-radius: 10px;
	padding: 16px 18px;
	margin-top: 1.5em;
	font-size: .95rem;
}
.video-fallback a { color: var(--primary); font-weight: 600; }
.link-btn {
	background: none;
	border: none;
	padding: 0;
	margin-left: 6px;
	color: var(--primary);
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
	font-size: inherit;
	font-family: inherit;
}

.cert-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 1.2em;
}
.cert-grid a {
	display: block;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--shadow);
	border: 1px solid var(--border);
	transition: transform .2s ease;
}
.cert-grid a:hover { transform: translateY(-3px); }
.cert-grid img { aspect-ratio: 4/5.5; object-fit: cover; }

/* ---------- Contact ---------- */
.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 2em;
}
.contact-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px 26px;
}
.contact-card h3 {
	margin: 0 0 .5em;
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--primary);
}
.contact-card p { margin: 0; }
.contact-card a { text-decoration: none; font-weight: 600; color: var(--ink-strong); }
.contact-card a:hover { color: var(--primary); }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--primary-dark);
	color: rgba(255,255,255,.75);
	padding: 28px 0;
	font-size: .88rem;
}
.footer-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	justify-content: space-between;
	align-items: center;
}
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.cert-grid { grid-template-columns: repeat(2, 1fr); }
	.contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.nav-toggle { display: flex; }
	.main-nav {
		position: fixed;
		inset: 78px 0 auto auto;
		flex-direction: column;
		gap: 0;
		width: min(78vw, 300px);
		background: #fff;
		box-shadow: var(--shadow);
		border-radius: 0 0 0 16px;
		padding: 12px;
		transform: translateX(100%);
		transition: transform .3s ease;
	}
	.main-nav.open { transform: translateX(0); }
	.main-nav a {
		color: var(--ink);
		padding: 14px 16px;
		border-radius: 10px;
	}
	.main-nav a:hover { background: var(--primary-light); color: var(--primary-dark); }

	.hero-actions { flex-direction: column; align-items: flex-start; }
	.services { margin-top: -40px; }
}

@media (max-width: 520px) {
	.section { padding: 64px 0; }
	.services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
	.service-card { padding: 20px 14px; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 200;
	background: var(--primary-dark);
	color: rgba(255,255,255,.9);
	box-shadow: 0 -6px 24px rgba(0,0,0,.25);
}
.cookie-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 24px;
}
.cookie-inner p { margin: 0; font-size: .88rem; max-width: 62ch; }
.cookie-inner a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-ghost-dark {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,.4);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,.12); }

@media (max-width: 640px) {
	.cookie-inner { flex-direction: column; align-items: flex-start; }
}
