/* [aob_footer] — Figma frame "footer" (1440px; 1240px grid). Mobile-first. */
:not(#_) .aob-footer,
:not(#_) .aob-footer *,
:not(#_) .aob-footer *::before,
:not(#_) .aob-footer *::after { box-sizing: border-box; }

:not(#_) .aob-footer {
	background: var(--aob-black-3);
	color: var(--aob-light-2);
	font-family: var(--aob-font-body);
	font-size: 16px;
	line-height: 22.4px;
}
:not(#_) .aob-footer img { display: block; max-width: none; }
:not(#_) .aob-footer h2,
:not(#_) .aob-footer p,
:not(#_) .aob-footer ul { margin: 0; padding: 0; }
:not(#_) .aob-footer ul { list-style: none; }
:not(#_) .aob-footer a { color: inherit; text-decoration: none; }
:not(#_) .aob-footer a:hover { color: var(--aob-white); }
:not(#_) .aob-footer a:focus-visible { outline: 2px solid var(--aob-white); outline-offset: 3px; border-radius: 2px; }

:not(#_) .aob-footer__main { padding-top: 5rem; padding-bottom: 3rem; }
:not(#_) .aob-footer__top {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px 24px;
}
:not(#_) .aob-footer__logo {
	position: relative;
	display: block;
	grid-column: 1 / -1;
	width: min(100%, 320px);
	aspect-ratio: 323 / 210;
	margin-inline: auto;
	background: var(--aob-black-3);
}
:not(#_) .aob-footer__logo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: lighten; }

:not(#_) .aob-footer .aob-footer__title {
	margin-bottom: 24px;
	color: var(--aob-white);
	font-size: 18px;
	font-weight: 500;
	line-height: 23.4px;
}
:not(#_) .aob-footer__list { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
:not(#_) .aob-footer__list li { display: flex; align-items: center; gap: 10px; }
:not(#_) .aob-footer__col--contact { grid-column: 1 / -1; }
:not(#_) .aob-footer__list--social { gap: 16px; }
:not(#_) .aob-footer__list--social li { align-items: center; }
:not(#_) .aob-footer__list--social a { display: flex; align-items: center; gap: 10px; }

:not(#_) .aob-footer__icon { position: relative; display: block; flex: none; width: 20px; height: 20px; }
:not(#_) .aob-footer__icon img { position: absolute; display: block; }
/* single-glyph icons keep their native aspect ratio and are centred in the 20px box */
:not(#_) .aob-footer__icon--phone img,
:not(#_) .aob-footer__icon--location img,
:not(#_) .aob-footer__icon--nip img { left: 50%; top: 50%; transform: translate(-50%, -50%); }
:not(#_) .aob-footer__icon--phone img { width: 20px; height: 20px; }
:not(#_) .aob-footer__icon--location img { width: 16.77px; height: 20px; }
:not(#_) .aob-footer__icon--nip img { width: 20px; height: 18.14px; }
/* e-mail glyph is built from 4 pieces positioned like in Figma */
:not(#_) .aob-footer__icon--mail .m1 { left: 68.79%; top: 19.87%; width: 6.24px; height: 12.05px; }
:not(#_) .aob-footer__icon--mail .m2 { left: 5.02%; top: 14.84%; width: 17.99px; height: 8.4px; }
:not(#_) .aob-footer__icon--mail .m3 { left: 0; top: 19.87%; width: 6.24px; height: 12.05px; }
:not(#_) .aob-footer__icon--mail .m4 { left: 5.02%; top: 54.14%; width: 17.99px; height: 6.2px; }

/* bottom bar: full-bleed hairline above the copyright row */
:not(#_) .aob-footer__bar { border-top: 1px solid var(--aob-black-2); }
:not(#_) .aob-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding-block: 24px 48px;
	text-align: center;
}
:not(#_) .aob-footer__copy a { color: var(--aob-brand); text-decoration: underline; text-underline-position: from-font; }
:not(#_) .aob-footer .aob-footer__privacy { color: var(--aob-brand); text-decoration: underline; text-underline-position: from-font; }
:not(#_) .aob-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
:not(#_) .aob-footer__credit { display: block; flex: none; }
:not(#_) .aob-footer__credit img { width: 210px; height: auto; margin: -9px -13px; }
:not(#_) .aob-footer a.aob-footer__privacy:hover,
:not(#_) .aob-footer__copy a:hover { color: var(--aob-light-1); }

/* keep the last row clear of the mobile dock */
@media (max-width: 767px) {
	:not(#_) body.aob-has-dock .aob-footer__bottom { padding-bottom: calc(24px + var(--aob-dock-h, 0px) + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 768px) {
	:not(#_) .aob-footer__top { grid-template-columns: repeat(4, auto); justify-content: space-between; }
	:not(#_) .aob-footer__col--contact { grid-column: auto; }
	:not(#_) .aob-footer__logo { grid-column: 1 / -1; margin-inline: 0; }
	:not(#_) .aob-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
}
@media (min-width: 1024px) {
	:not(#_) .aob-footer__top { grid-template-columns: auto repeat(4, auto); gap: 24px clamp(16px, 3vw, 48px); align-items: start; }
	:not(#_) .aob-footer__logo { grid-column: auto; width: clamp(220px, 22.4vw, 323px); }
}
