﻿/* =====================================================
 * Appagentix-style footer
 * Dark band (#080612): brand column + Company / Services /
 * Solutions / Industries link columns, then a legal bottom bar.
 * ===================================================== */

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

.tta-footer {
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: linear-gradient(0deg, #010008 0%, #17113A 46.15%, #6148E0 100%);

	color: #ffffff;
}

/* .tta-footer .tta-container takes its width from layout.css. */

/* ---------- Main footer ---------- */
.tta-footer__main {
	padding: 64px 0 56px;
}

.tta-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
	gap: 48px 32px;
	align-items: start;
}

/* Brand column */
.tta-footer__brand-logo a { display: inline-block; text-decoration: none; }
/* Official 274x46 mark, scaled down so it stays crisp on HiDPI. */
.tta-footer__brand-logo img {
	flex: 0 0 auto;
	height: 36px;
	width: auto;
	display: block;
}
.tta-footer__brand-name {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: #ffffff;
}

.tta-footer__tagline {
	font-size: 14px;
	font-weight: 300;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.72);
	margin: 20px 0 26px;
	max-width: 320px;
}

.tta-footer__contact {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
}

.tta-footer__contact li {
	font-size: 14px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.8);
}

.tta-footer__contact a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color 0.2s ease;
}

.tta-footer__contact a:hover,
.tta-footer__contact a:focus {
	color: var(--wp--preset--color--tta-purple, #973DD9);
}

.tta-footer__social {
	display: flex;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tta-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	transition: background 0.2s ease, transform 0.2s ease;
}

.tta-footer__social a:hover,
.tta-footer__social a:focus {
	background: var(--wp--preset--color--tta-purple, #973DD9);
	transform: translateY(-2px);
}

.tta-footer__social svg {
	width: 18px;
	height: 18px;
	fill: #ffffff;
	display: block;
}

/* Link columns */
.tta-footer__col-title {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #ffffff;
	margin: 0 0 20px;
}

.tta-footer__nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tta-footer__nav li { margin-bottom: 12px; }

.tta-footer__nav li:last-child { margin-bottom: 0; }

.tta-footer__nav a {
	font-size: 14px;
	font-weight: 300;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: color 0.2s ease;
}

.tta-footer__nav a:hover,
.tta-footer__nav a:focus {
	color: #e8e0ee;
	text-decoration: underline;
	text-decoration-color: #e8e0ee;
	text-underline-offset: 3px;
}

/* ---------- Enterprise AI trust strip ---------- */
.tta-footer__trust {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 56px 0 60px;
}

.tta-footer__trust-inner {
	display: grid;
	grid-template-columns: 40fr 60fr;
	gap: 48px;
	align-items: center;
}

.tta-footer__trust-copy {
	text-align: left;
}

.tta-footer__trust-title {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	color: #ffffff;
	margin: 0 0 12px;
}

.tta-footer__trust-text {
	font-size: 14px;
	font-weight: 300;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
	max-width: 420px;
}

.tta-footer__trust-list {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tta-footer__trust-list li {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 14px;
	padding: 16px 0;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.tta-footer__trust-list li:hover {
	border-color: var(--wp--preset--color--tta-purple, #973DD9);
	background: rgba(151, 61, 217, 0.15);
}

.tta-footer__trust-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
}

.tta-footer__trust-icon svg {
	width: 26px;
	height: 26px;
	display: block;
}

/* ---------- Bottom bar ---------- */
.tta-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 22px 0;
	background: rgba(0, 0, 0, 0.25);
}

.tta-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.tta-footer__copy {
	font-size: 13px;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.55);
	margin: 0;
}

.tta-footer__legal {
	display: flex;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tta-footer__legal a {
	font-size: 13px;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
	transition: color 0.2s ease;
}

.tta-footer__legal a:hover,
.tta-footer__legal a:focus {
	color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.tta-footer__grid {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 44px 32px;
	}

	.tta-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.tta-footer__main { padding: 48px 0 40px; }

	.tta-footer__trust { padding: 44px 0 48px; }

	.tta-footer__trust-inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.tta-footer__trust-list {
		flex-wrap: wrap;
	}

	.tta-footer__trust-list li {
		flex: 1 1 calc(50% - 12px);
	}

	.tta-footer__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.tta-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.tta-footer__legal {
		gap: 20px;
		flex-wrap: wrap;
	}
}