/* Neto UI — Glass footer (original layout, darker) */

.neto-footer {
	--neto-footer-glass: rgba(210, 220, 235, 0.78);
	--neto-footer-edge: rgba(5, 43, 66, 0.14);
	position: relative;
	z-index: 1;
	isolation: isolate;
	padding-block: clamp(2.5rem, 5vh, 3.75rem) clamp(1.75rem, 3vh, 2.5rem);
	margin: 0;
	background: transparent;
	color: var(--neto-ink);
	font-family: var(--neto-font);
	overflow: hidden;
}

.neto-footer::before {
	display: none;
}

html[data-neto-ui-theme="dark"] .neto-footer {
	--neto-footer-glass: rgba(12, 12, 14, 0.94);
	--neto-footer-edge: #27272a;
}

.neto-footer__wrap {
	position: relative;
	z-index: 1;
	width: min(100% - 1.75rem, var(--neto-content-max, 1300px));
	max-width: none;
	padding-inline: 0;
	margin-inline: auto;
	min-width: 0;
}

@media (max-width: 640px) {
	.neto-footer__wrap {
		width: min(100% - 1.25rem, var(--neto-content-max, 1300px));
	}
}

.neto-footer__glass {
	border-radius: 1.5rem;
	border: 1px solid var(--neto-footer-edge);
	background: var(--neto-footer-glass);
	box-shadow:
		0 18px 50px rgba(15, 40, 70, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
	backdrop-filter: blur(22px) saturate(1.3);
	-webkit-backdrop-filter: blur(22px) saturate(1.3);
	overflow: hidden;
}

html[data-neto-ui-theme="dark"] .neto-footer__glass {
	background: rgba(12, 12, 14, 0.96);
	border-color: #27272a;
	box-shadow:
		0 24px 60px rgba(0, 0, 0, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.neto-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
	gap: clamp(1.35rem, 2.5vw, 2rem);
	padding: clamp(1.5rem, 3vw, 2.15rem);
	align-items: start;
}

.neto-footer__brand {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.neto-footer__logo {
	display: inline-flex;
	align-items: center;
	max-width: 11.5rem;
	text-decoration: none;
}

.neto-footer__logo img {
	display: block;
	width: 100%;
	height: auto;
}

html[data-neto-ui-theme="dark"] .neto-footer__logo img {
	filter: brightness(1.08);
}

.neto-footer__logo-text {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--neto-ink);
	text-decoration: none;
}

.neto-footer__about {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.95;
	text-align: justify;
	text-justify: inter-word;
	color: var(--neto-muted);
	max-width: 28rem;
}

.neto-footer__about p {
	margin: 0 0 0.65em;
}

.neto-footer__about p:last-child {
	margin-bottom: 0;
}

.neto-footer__about a {
	color: inherit !important;
	text-decoration: none;
	font-weight: inherit;
}

.neto-footer__about a:hover,
.neto-footer__about a:focus-visible {
	opacity: 0.85;
	outline: none;
}

.neto-footer__col {
	min-width: 0;
}

.neto-footer__heading {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.4;
	color: var(--neto-ink);
}

.neto-footer__list,
.neto-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.neto-footer__list a,
.neto-footer__contact a {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.55;
	color: var(--neto-muted) !important;
	text-decoration: none !important;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.neto-footer__list a:hover,
.neto-footer__list a:focus-visible,
.neto-footer__contact a:hover,
.neto-footer__contact a:focus-visible {
	color: var(--neto-ink) !important;
	outline: none;
}

html[data-neto-ui-theme="dark"] .neto-footer__list a:hover,
html[data-neto-ui-theme="dark"] .neto-footer__list a:focus-visible,
html[data-neto-ui-theme="dark"] .neto-footer__contact a:hover,
html[data-neto-ui-theme="dark"] .neto-footer__contact a:focus-visible {
	color: #fafafa !important;
}

.neto-footer__icon {
	flex-shrink: 0;
	opacity: 0.9;
	color: var(--neto-brand);
}

html[data-neto-ui-theme="dark"] .neto-footer__icon {
	color: #00d7ff;
}

.neto-footer__col--trust {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.neto-footer__enamad {
	display: inline-flex;
	padding: 0.65rem;
	border-radius: 0.85rem;
	border: 1px solid var(--neto-line);
	background: color-mix(in srgb, var(--neto-card) 55%, transparent);
	transition: border-color 0.25s ease, transform 0.25s ease;
}

.neto-footer__enamad--html a {
	display: inline-flex;
	line-height: 0;
	text-decoration: none;
}

html[data-neto-ui-theme="dark"] .neto-footer__enamad {
	background: #111113;
	border-color: #27272a;
}

.neto-footer__enamad:hover,
.neto-footer__enamad--html:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--neto-brand) 35%, var(--neto-line));
}

.neto-footer__enamad img,
.neto-footer__enamad--html img {
	display: block;
	width: 5.5rem;
	height: auto;
	max-width: 100%;
}

.neto-footer__trust-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: fit-content;
	max-width: 100%;
}

.neto-footer__hosting {
	margin: 0.35rem 0 0;
	font-size: 0.5rem;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.01em;
	white-space: nowrap;
	color: var(--neto-muted);
	text-align: center;
}

.neto-footer__bar {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.95rem 1.25rem;
	border-top: 1px solid color-mix(in srgb, var(--neto-line) 90%, transparent);
	background: color-mix(in srgb, #052b42 10%, transparent);
}

html[data-neto-ui-theme="dark"] .neto-footer__bar {
	border-top-color: #27272a;
	background: rgba(0, 0, 0, 0.28);
}

.neto-footer__copy {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--neto-muted);
	text-align: center;
	line-height: 1.6;
}

.neto-footer__copy p {
	margin: 0;
}

.neto-footer__copy a,
.neto-footer__copy u {
	color: inherit;
	text-decoration: none;
}

.neto-footer__copy a:hover,
.neto-footer__copy a:focus-visible {
	color: var(--neto-brand);
	text-decoration: none;
}

@media (max-width: 1100px) {
	.neto-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.neto-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.neto-footer {
		padding-block: 2rem 1.5rem;
	}

	.neto-footer__glass {
		border-radius: 1.2rem;
	}

	.neto-footer__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding: 1.25rem;
	}

	.neto-footer__about {
		max-width: none;
		font-size: 0.88rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.neto-footer__enamad,
	.neto-footer__list a,
	.neto-footer__contact a {
		transition: none;
	}

	.neto-footer__enamad:hover {
		transform: none;
	}
}
