/* ==========================================================================
   PurOstill V2 — footer
   ========================================================================== */

.v2-footer {
	margin-top: 4rem;
	padding: 4rem 0 2rem;
	background: var(--v2-dark);
	color: var(--v2-on-dark);
}

.v2-footer__inner { display: flex; flex-direction: column; gap: 2.5rem; }

.v2-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
}

/* Brand ------------------------------------------------------------------ */

.v2-footer__brand { grid-column: span 2; min-width: 260px; }

.v2-footer__logo { display: inline-flex; align-items: center; }
.v2-footer__logo .v2-brand__name { color: #fff; font-size: 1.6rem; }
.v2-footer__logo .v2-brand__img { max-height: 46px; }
/* A dark footer behind a dark logo: lift it so the mark stays readable. */
.v2-footer__logo .v2-brand__img { filter: brightness(0) invert(1); }
.v2-footer__logo:hover .v2-brand__name { color: var(--v2-accent); }

.v2-footer__text {
	margin: 1rem 0;
	color: color-mix(in srgb, var(--v2-on-dark) 85%, transparent);
	line-height: 1.6;
	max-width: 46ch;
}

.v2-footer__badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.v2-footer__badges span {
	padding: .3rem .9rem;
	border: 1px solid color-mix(in srgb, var(--v2-on-dark) 30%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, var(--v2-on-dark) 12%, transparent);
	color: var(--v2-bg);
	font-size: .85rem;
}

/* Link columns ------------------------------------------------------------ */

.v2-footer__column h4 {
	margin: 0 0 .8rem;
	font-size: .82rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .15em;
	color: color-mix(in srgb, var(--v2-on-dark) 80%, transparent);
}
.v2-footer__column ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.v2-footer__column a {
	color: color-mix(in srgb, var(--v2-on-dark) 90%, transparent);
	font-size: .95rem;
	transition: color .2s ease;
}
.v2-footer__column a:hover { color: var(--v2-accent); }

/* Bottom row -------------------------------------------------------------- */

.v2-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--v2-on-dark) 20%, transparent);
	font-size: .95rem;
	color: color-mix(in srgb, var(--v2-on-dark) 70%, transparent);
}

@media (max-width: 768px) {
	.v2-footer { padding-top: 3rem; }
	.v2-footer__brand { grid-column: span 1; }
}
