/* =========================================================
   8530CLOUD — FOOTER COMPONENT
   Desktop + tablet + mobile

   Structure:
   - Brand / description / live status
   - Services
   - 8530Cloud
   - Account
   - Bottom legal / infrastructure row
   ========================================================= */


/* =========================================================
   FOOTER — SHELL
   ========================================================= */

.c8530-footer {
	position: relative;

	width: 100%;
	margin: 0;

	overflow: hidden;

	background:
		linear-gradient(
			145deg,
			#0b223b 0%,
			#07172b 48%,
			#061426 100%
		);

	color: #ffffff;

	font-family:
		"Space Grotesk",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
}

.c8530-footer,
.c8530-footer * {
	box-sizing: border-box;
}


/* Subtle ambient glow */

.c8530-footer::before {
	content: "";

	position: absolute;

	top: -220px;
	left: 10%;

	width: 520px;
	height: 360px;

	pointer-events: none;

	border-radius: 50%;

	background:
		rgba(21, 159, 221, 0.12);

	filter: blur(100px);
}

.c8530-footer::after {
	content: "";

	position: absolute;

	right: -160px;
	bottom: -240px;

	width: 500px;
	height: 500px;

	pointer-events: none;

	border-radius: 50%;

	background:
		rgba(37, 175, 227, 0.07);

	filter: blur(110px);
}


/* =========================================================
   FOOTER — INNER
   ========================================================= */

.c8530-footer-inner {
	position: relative;
	z-index: 1;

	width: min(calc(100% - 64px), 1180px);
	max-width: 1180px;

	margin: 0 auto !important;
	padding: 68px 0 28px;
}


/* =========================================================
   FOOTER — MAIN GRID
   ========================================================= */

.c8530-footer-grid {
	display: grid !important;

	grid-template-columns:
		minmax(280px, 1.65fr)
		minmax(150px, 0.8fr)
		minmax(180px, 0.9fr)
		minmax(150px, 0.8fr);

	gap: 54px;

	align-items: start;

	width: 100%;

	margin: 0 !important;
}

.c8530-footer-grid > .wp-block-column {
	width: auto !important;
	min-width: 0;

	margin: 0 !important;

	flex: none !important;
	flex-basis: auto !important;
}


/* =========================================================
   FOOTER — BRAND
   ========================================================= */

.c8530-footer-logo {
	width: fit-content;

	margin: 0 0 22px !important;
}

.c8530-footer-logo a {
	display: inline-flex;

	align-items: center;

	text-decoration: none;
}

.c8530-footer-logo img {
	display: block;

	width: 176px;
	max-width: 100%;
	height: auto;

	object-fit: contain;

	filter:
		drop-shadow(
			0 8px 20px
			rgba(0, 0, 0, 0.12)
		);

	transition:
		transform 0.35s
		cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.25s ease;
}

.c8530-footer-logo a:hover img,
.c8530-footer-logo a:focus-visible img {
	transform:
		translateY(-2px)
		scale(1.015);

	opacity: 0.94;
}


/* =========================================================
   FOOTER — DESCRIPTION
   ========================================================= */

.c8530-footer-description {
	max-width: 330px;

	margin: 0 0 26px !important;

	color: rgba(255, 255, 255, 0.64);

	font-size: 14px;
	font-weight: 400;

	line-height: 1.75;
}


/* =========================================================
   FOOTER — TITLES
   ========================================================= */

.c8530-footer-title {
	margin:
		3px
		0
		20px !important;

	color: #ffffff;

	font-size: 15px;
	font-weight: 600;

	line-height: 1.25;

	letter-spacing: -0.01em;

	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}


/* =========================================================
   FOOTER — LINKS
   ========================================================= */

.c8530-footer-links {
	display: flex;

	flex-direction: column;

	gap: 11px;

	margin: 0 !important;
	padding: 0 !important;

	list-style: none !important;
}

.c8530-footer-links li {
	margin: 0;
	padding: 0;

	color: inherit;

	font-size: 13px;

	line-height: 1.45;

	list-style: none !important;

	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

.c8530-footer-links li::marker {
	content: "";
}

.c8530-footer-links a {
	position: relative;

	display: inline;

	color: rgba(255, 255, 255, 0.64);

	font-size: 13px;
	font-weight: 450;

	line-height: 1.5;

	text-decoration: none;

	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;

	transition:
		color 0.2s ease;
}

.c8530-footer-links a::after {
	content: "";

	position: absolute;

	left: 0;
	bottom: -3px;

	width: 0;
	height: 1px;

	background: #25afe3;

	transition:
		width 0.28s
		cubic-bezier(0.22, 1, 0.36, 1);
}

.c8530-footer-links a:hover,
.c8530-footer-links a:focus-visible {
	color: #ffffff;
}

.c8530-footer-links a:hover::after,
.c8530-footer-links a:focus-visible::after {
	width: 100%;
}

.c8530-footer-links a:focus-visible {
	outline:
		2px solid
		rgba(37, 175, 227, 0.45);

	outline-offset: 5px;

	border-radius: 2px;
}


/* =========================================================
   FOOTER — LIVE STATUS
   Actual state styling remains in status.css
   ========================================================= */

.c8530-footer .c8530-footer-status {
	width: fit-content;
	max-width: 100%;

	margin-top: 8px;
}


/* =========================================================
   FOOTER — SEPARATOR
   ========================================================= */

.c8530-footer-separator {
	width: 100%;

	margin:
		52px
		0
		22px !important;

	border: 0 !important;
	border-top:
		1px solid
		rgba(255, 255, 255, 0.10) !important;

	opacity: 1 !important;
}


/* =========================================================
   FOOTER — BOTTOM
   ========================================================= */

.c8530-footer-bottom {
	display: flex !important;

	align-items: center;
	justify-content: space-between;

	gap: 24px;

	width: 100%;

	margin: 0 !important;
}

.c8530-footer-bottom p {
	margin: 0 !important;

	color: rgba(255, 255, 255, 0.42);

	font-size: 11px;
	font-weight: 450;

	line-height: 1.5;

	letter-spacing: 0.01em;
}


/* =========================================================
   FOOTER — TABLET
   ========================================================= */

@media (max-width: 1000px) {

	.c8530-footer-inner {
		width: min(calc(100% - 48px), 900px);

		padding-top: 58px;
	}

	.c8530-footer-grid {
		grid-template-columns:
			minmax(260px, 1.35fr)
			minmax(140px, 0.75fr)
			minmax(160px, 0.85fr)
			minmax(140px, 0.75fr);

		gap: 32px;
	}

	.c8530-footer-logo img {
		width: 160px;
	}

	.c8530-footer-description {
		font-size: 13px;
	}
}


/* =========================================================
   FOOTER — SMALL TABLET
   ========================================================= */

@media (max-width: 800px) {

	.c8530-footer-inner {
		width: min(calc(100% - 40px), 720px);

		padding:
			52px
			0
			26px;
	}

	.c8530-footer-grid {
		grid-template-columns:
			minmax(0, 1.4fr)
			minmax(0, 1fr);

		gap:
			46px
			42px;
	}

	.c8530-footer-grid > .wp-block-column:first-child {
		grid-column: 1 / -1;
	}

	.c8530-footer-description {
		max-width: 440px;
	}

	.c8530-footer-separator {
		margin-top: 44px !important;
	}
}


/* =========================================================
   FOOTER — MOBILE
   ========================================================= */

@media (max-width: 600px) {

	.c8530-footer-inner {
		width: calc(100% - 32px);

		padding:
			44px
			0
			24px;
	}

	.c8530-footer-grid {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));

		gap:
			40px
			24px;
	}

	.c8530-footer-grid > .wp-block-column:first-child {
		grid-column: 1 / -1;
	}

	.c8530-footer-logo {
		margin-bottom: 18px !important;
	}

	.c8530-footer-logo img {
		width: 150px;
	}

	.c8530-footer-description {
		max-width: 390px;

		margin-bottom: 22px !important;

		font-size: 13px;
		line-height: 1.7;
	}

	.c8530-footer-title {
		margin-bottom: 16px !important;

		font-size: 14px;
	}

	.c8530-footer-links {
		gap: 9px;
	}

	.c8530-footer-links a {
		font-size: 12px;
	}

	.c8530-footer-separator {
		margin:
			40px
			0
			20px !important;
	}

	.c8530-footer-bottom {
		align-items: flex-start;
		flex-direction: column;

		gap: 7px;
	}

	.c8530-footer-bottom p {
		font-size: 10px;
	}
}


/* =========================================================
   FOOTER — SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

	.c8530-footer-inner {
		width: calc(100% - 28px);
	}

	.c8530-footer-grid {
		grid-template-columns: 1fr;

		gap: 34px;
	}

	.c8530-footer-grid > .wp-block-column:first-child {
		grid-column: auto;
	}

	.c8530-footer-title {
		margin-bottom: 14px !important;
	}

	.c8530-footer-links a {
		font-size: 13px;
	}

	.c8530-footer-bottom {
		gap: 6px;
	}
}


/* =========================================================
   FOOTER — ACCESSIBILITY / MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	.c8530-footer-logo img,
	.c8530-footer-links a,
	.c8530-footer-links a::after {
		transition: none !important;
	}
}