/* ==========================================================================
   Footer — CTA band + 4-column footer. Font: DM Sans.
   v2: tighter spacing on desktop; centred 2-column layout on mobile.
   ========================================================================== */
:root {
	--footer-bg: #0f2a3a;
	--footer-text: #ffffff;
	--footer-muted: rgba(255, 255, 255, .62);
	--footer-faint: rgba(255, 255, 255, .45);
	--footer-line: rgba(255, 255, 255, .12);
	--footer-accent: #e0834a;
	--footer-btn-text: #0f2a3a;
	--footer-max: 1280px;
}

.site-footer-new {
	background: var(--footer-bg);
	color: var(--footer-text);
	font-family: 'DM Sans', sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* ---- CTA band ---- */
.footer-cta { padding: 64px 24px 56px; text-align: center; }
.footer-cta__inner { max-width: 640px; margin: 0 auto; }
.footer-cta__title {
	margin: 0 0 16px;
	font-size: clamp(28px, 3.6vw, 40px);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -.02em;
	color: var(--footer-text);
}
.footer-cta__text { margin: 0 0 28px; font-size: 16px; line-height: 1.7; color: var(--footer-muted); }
.footer-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 15px 26px;
	background: #fff;
	color: var(--footer-btn-text);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 2px;
	transition: transform .2s ease, box-shadow .2s ease;
}
.footer-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, .28); color: var(--footer-btn-text); }
.footer-cta__btn svg { transition: transform .2s ease; }
.footer-cta__btn:hover svg { transform: translateX(3px); }

.footer-cta__points {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 24px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: var(--footer-muted);
}
.footer-cta__points li { display: flex; align-items: center; gap: 10px; }
.footer-cta__points li::before {
	content: '';
	width: 5px; height: 5px;
	border-radius: 50%;
	background: var(--footer-accent);
	flex: 0 0 auto;
}

/* ---- Main footer ---- */
.footer-main { max-width: var(--footer-max); margin: 0 auto; padding: 0 24px; border-top: 1px solid var(--footer-line); }
.footer-main__inner {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1fr 1fr;
	gap: 40px;
	padding: 40px 0 32px;
}
.footer-logo { display: inline-block; line-height: 0; color: #fff; text-decoration: none; }
.footer-logo img { display: block; height:30px; width: auto; }
.footer-logo--text { font-size: 22px; font-weight: 600; line-height: 1.2; }
.footer-about { max-width: 260px; margin: 14px 0 0; font-size: 13px; line-height: 1.7; color: var(--footer-muted); }

/* Social icons under the short description */
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.footer-social li { margin: 0; }
.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--footer-line);
	border-radius: 50%;
	color: rgba(255, 255, 255, .88);
	text-decoration: none;
	transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.footer-social a:hover,
.footer-social a:focus-visible { color: var(--footer-accent); border-color: var(--footer-accent); }
.footer-social svg { display: block; width: 16px; height: 16px; }

.footer-col__title { margin: 0 0 14px; font-size: 12px; font-weight: 400; letter-spacing: .02em; color: var(--footer-faint); }
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 13px; line-height: 1.4; }
.footer-links a,
.footer-links span { color: rgba(255, 255, 255, .88); text-decoration: none; transition: color .2s ease; }
.footer-links a:hover { color: var(--footer-accent); }

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 18px 0 22px;
	border-top: 1px solid var(--footer-line);
	font-size: 12px;
	color: var(--footer-faint);
}

@media (max-width: 991px) {
	.footer-main__inner { grid-template-columns: repeat(3, 1fr); gap: 32px; }
	.footer-col--brand { grid-column: 1 / -1; }
	.footer-about { max-width: 420px; }
}

/* Mobile: everything centred. Services + Company side by side, Get in touch on its own row. */
@media (max-width: 767px) {
	.footer-cta { padding: 48px 20px 44px; }
	.footer-cta__text { margin-bottom: 24px; }
	.footer-cta__points { flex-direction: column; align-items: center; gap: 8px; margin-top: 20px; }

	.footer-main { padding: 0 20px; }
	.footer-main__inner {
		grid-template-columns: 1fr 1fr;
		gap: 28px 16px;
		padding: 32px 0 28px;
		text-align: center;
	}
	.footer-col { min-width: 0; }
	.footer-col--brand,
	.footer-main__inner > .footer-col:last-child { grid-column: 1 / -1; }
	.footer-col--brand { display: flex; flex-direction: column; align-items: center; }
	.footer-about { max-width: 340px; margin: 12px auto 0; }
	.footer-social { justify-content: center; margin-top: 16px; }
	.footer-links { justify-items: center; }
	.footer-links a, .footer-links span { overflow-wrap: anywhere; }

	.footer-bottom {
		flex-direction: column;
		align-items: center;
		gap: 8px;
		text-align: center;
		padding: 16px 0 20px;
	}
}

.footer-bottom__note a { color: rgba(255, 255, 255, .75); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .25); transition: color .2s ease, border-color .2s ease; }
.footer-bottom__note a:hover { color: var(--footer-accent); border-color: var(--footer-accent); }


/* ==========================================================================
   1280 CONTENT WIDTH (footer) — desktop only (>=1200px).
   Scales the desktop px sizes by 1280/1344 (~0.952): fonts above 16px, px line-heights,
   widths/heights, padding, margins and gaps. Text 16px and smaller is unchanged for
   readability. Mobile and tablet rules are untouched. Delete this block to revert.
   ========================================================================== */
@media (min-width: 1200px) {
	.footer-cta { padding: 61px 23px 53px; }
	.footer-cta__inner { max-width: 610px; }
	.footer-cta__title { margin: 0 0 15px; font-size: clamp(27px, 3.6vw, 38px); }
	.footer-cta__text { margin: 0 0 27px; }
	.footer-cta__btn { gap: 11px; padding: 14px 25px; }
	.footer-cta__points { gap: 10px 23px; margin: 23px 0 0; }
	.footer-cta__points li { gap: 10px; }
	.footer-main { padding: 0 24px; }
	.footer-main__inner { gap: 38px; padding: 38px 0 30px; }
	.footer-logo img { height: 29px; }
	.footer-logo--text { font-size: 21px; }
	.footer-about { max-width: 248px; margin: 13px 0 0; }
	.footer-social { gap: 10px; margin: 17px 0 0; }
	.footer-social a { width: 32px; height: 32px; }
	.footer-col__title { margin: 0 0 13px; }
	.footer-links { gap: 10px; }
	.footer-bottom { gap: 15px; padding: 17px 0 21px; }
}
