/**
 * ATEE footer — Figma node 301:16199.
 */

.atee-footer {
	font-family: var(--atee-font-family);
	color: var(--atee-white);
}

.atee-footer__main {
	background: var(--atee-blue-1000);
	padding: 32px var(--atee-gutter) 16px;
}

.atee-footer__shell {
	max-width: var(--atee-layout-max);
	margin-inline: auto;
}

.atee-footer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.atee-footer__brand {
	flex-shrink: 0;
}

.atee-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}

.atee-footer__logo--image {
	display: inline-block;
}

.atee-footer__logo-img {
	display: block;
	width: auto;
	max-width: 185px;
	height: auto;
	max-height: 64px;
	object-fit: contain;
}

.atee-footer__logo-mark {
	width: 42px;
	height: 50px;
	flex-shrink: 0;
	background: linear-gradient(135deg, var(--atee-green-400) 0%, var(--atee-blue-600) 100%);
	border-radius: 4px;
}

.atee-footer__logo-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.atee-footer__logo-text strong {
	font-size: 1.75rem;
	font-weight: var(--atee-font-weight-bold);
	line-height: 1;
	letter-spacing: var(--atee-letter-spacing);
	color: var(--atee-white);
}

.atee-footer__logo-text small {
	font-size: 0.625rem;
	font-weight: var(--atee-font-weight-medium);
	line-height: 1.2;
	letter-spacing: var(--atee-letter-spacing);
	color: var(--atee-white);
	max-width: 185px;
}

.atee-footer__social {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 24px;
	flex: 1;
}

.atee-footer__social-label {
	font-size: var(--atee-text-p2-size);
	font-weight: var(--atee-font-weight-medium);
	line-height: var(--atee-text-p2-line);
	letter-spacing: var(--atee-letter-spacing);
	color: var(--atee-white);
	white-space: nowrap;
}

.atee-footer__social-list {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.atee-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: var(--atee-white);
	transition: opacity var(--atee-transition-fast);
}

.atee-footer__social-link svg,
.atee-footer__social-link .atee-footer__social-icon {
	display: block;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	object-fit: contain;
}

.atee-footer__social-link:hover {
	opacity: 0.8;
	color: var(--atee-white);
}

.atee-footer__divider {
	border: 0;
	height: 1px;
	margin: 16px 0;
	background: rgba(255, 255, 255, 0.12);
}

.atee-footer__grid {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

.atee-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	flex: 1;
	min-width: 0;
	max-width: 922px;
}

.atee-footer__col {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 160px;
	min-width: 0;
	max-width: 100%;
}

.atee-footer__col-title {
	margin: 0;
	font-size: var(--atee-text-p2-size);
	font-weight: var(--atee-font-weight-medium);
	line-height: var(--atee-text-p2-line);
	letter-spacing: var(--atee-letter-spacing);
	color: var(--atee-white);
	overflow-wrap: break-word;
	word-break: break-word;
}

.atee-footer__col-title a {
	color: inherit;
	text-decoration: none;
}

.atee-footer__col-title a:hover {
	color: var(--atee-white);
	opacity: 0.9;
}

.atee-footer__subsection {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 24px;
}

.atee-footer__links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.atee-footer__links a {
	display: block;
	max-width: 100%;
	font-size: var(--atee-text-p3-size);
	font-weight: var(--atee-font-weight-medium);
	line-height: 1.5rem;
	letter-spacing: var(--atee-letter-spacing);
	color: var(--atee-grey-400);
	text-decoration: none;
	overflow-wrap: break-word;
	word-break: break-word;
	transition: color var(--atee-transition-fast);
}

.atee-footer__links a:hover {
	color: var(--atee-white);
}

.atee-footer__cta {
	flex-shrink: 0;
	width: 100%;
	max-width: 358px;
}

.atee-footer__cta-card {
	background: var(--atee-green-500);
	border-radius: var(--atee-radius-sm);
	padding: 24px;
	overflow: hidden;
}

.atee-footer__cta-title {
	margin: 0 0 16px;
	font-size: var(--atee-text-h5-size);
	font-weight: var(--atee-font-weight-semibold);
	line-height: var(--atee-text-h5-line);
	letter-spacing: var(--atee-letter-spacing);
	color: var(--atee-white);
}

.atee-footer__cta-body {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}

.atee-footer__cta-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1;
	min-width: 0;
}

.atee-footer__cta-text {
	margin: 0;
	font-size: var(--atee-text-p3-size);
	font-weight: var(--atee-font-weight-medium);
	line-height: 1.25rem;
	letter-spacing: var(--atee-letter-spacing);
	color: var(--atee-white);
}

.atee-footer__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	padding: 8px 16px;
	border: 1px solid var(--atee-white);
	border-radius: 42px;
	font-size: var(--atee-text-button-size);
	font-weight: var(--atee-font-weight-semibold);
	line-height: var(--atee-text-button-line);
	letter-spacing: var(--atee-letter-spacing);
	color: var(--atee-white);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color var(--atee-transition-fast), color var(--atee-transition-fast);
}

.atee-footer__cta-btn:hover {
	background: var(--atee-white);
	color: var(--atee-green-500);
}

.atee-footer__cta-pattern {
	flex-shrink: 0;
	width: 97px;
	height: 96px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	opacity: 0.55;
	transform: rotate(180deg);
}

.atee-footer__legal {
	background: var(--atee-grey-800);
	padding: 10px var(--atee-gutter);
}

.atee-footer__legal-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.atee-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.atee-footer__legal-button {
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	cursor: pointer;
}

.atee-footer__legal-link:focus-visible {
	color: var(--atee-white);
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.atee-footer__legal-link,
.atee-footer__copyright {
	font-size: var(--atee-text-p3-size);
	font-weight: var(--atee-font-weight-medium);
	line-height: 1.25rem;
	letter-spacing: var(--atee-letter-spacing);
	color: var(--atee-grey-400);
	white-space: nowrap;
}

.atee-footer__legal-link {
	text-decoration: none;
}

.atee-footer__legal-link:hover {
	color: var(--atee-white);
}

@media (max-width: 1199px) {
	.atee-footer__grid {
		flex-direction: column;
	}

	.atee-footer__cta {
		max-width: none;
	}

	.atee-footer__nav {
		max-width: none;
	}
}

@media (max-width: 767px) {
	.atee-footer__top {
		flex-direction: column;
		align-items: flex-start;
	}

	.atee-footer__social {
		justify-content: flex-start;
		width: 100%;
	}

	.atee-footer__nav {
		flex-direction: column;
		gap: 24px;
	}

	.atee-footer__col {
		flex: 1 1 auto;
	}

	.atee-footer__legal-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.atee-footer__legal-link,
	.atee-footer__copyright {
		white-space: normal;
	}
}
