/* AnngooLink sitewide footer — Variant C (Swiss / Restrained-cool) */

.alp-footer {
	--alp-footer-bg:        #FFFFFF;
	--alp-footer-ink:       #14171A;
	--alp-footer-ink-soft:  #4A5260;
	--alp-footer-ink-faint: #818897;
	--alp-footer-rule:      #E5E8EC;
	--alp-footer-accent:    #109A8D;
	--alp-footer-amber:     #FFA726;

	background: var( --alp-footer-bg );
	color: var( --alp-footer-ink );
	padding: 64px clamp( 22px, 4vw, 56px ) 22px;
	border-top: 1px solid var( --alp-footer-accent );
	font-family: "Noto Sans TC", system-ui, -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
	font-size: 14px;
	line-height: 1.6;
	box-sizing: border-box;
}

.alp-footer *,
.alp-footer *::before,
.alp-footer *::after { box-sizing: border-box; }

.alp-footer__grid {
	display: grid;
	grid-template-columns: repeat( 12, 1fr );
	gap: 24px 32px;
	max-width: 1280px;
	margin: 0 auto;
}

/* ---------- Brand block (col 1-3) ---------- */
.alp-footer__brand {
	grid-column: 1 / 4;
	padding-right: 24px;
}

.alp-footer__brand-mark {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 14px;
}

.alp-footer__brand-name {
	font-size: 22px;
	font-weight: 700;
	color: var( --alp-footer-ink );
	letter-spacing: 0.02em;
}

.alp-footer__brand-sub {
	font-size: 11px;
	font-weight: 500;
	color: var( --alp-footer-ink-faint );
	letter-spacing: 0.28em;
}

.alp-footer__tagline {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	color: var( --alp-footer-ink-soft );
	line-height: 1.7;
	max-width: 28ch;
}

/* ---------- Nav columns ---------- */
.alp-footer__col-learn   { grid-column: 4 / 6; }
.alp-footer__col-recruiting { grid-column: 6 / 8; }
.alp-footer__col-shop    { grid-column: 8 / 10; }

.alp-footer__col h4 {
	margin: 0 0 18px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var( --alp-footer-ink-faint );
	display: flex;
	align-items: center;
	gap: 10px;
}

.alp-footer__col h4::before {
	content: "";
	width: 6px;
	height: 6px;
	background: var( --alp-footer-accent );
	flex: none;
}

.alp-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.alp-footer__col li + li { margin-top: 10px; }

.alp-footer__col a {
	color: var( --alp-footer-ink );
	text-decoration: none;
	font-size: 14px;
	font-weight: 400;
	transition: color 160ms ease;
}

.alp-footer__col a:hover { color: var( --alp-footer-accent ); }

.alp-footer__col a:focus-visible {
	outline: 2px solid var( --alp-footer-accent );
	outline-offset: 4px;
}

/* ---------- Contact column (col 10-12) ---------- */
.alp-footer__contact {
	grid-column: 10 / 13;
}

.alp-footer__contact h4 {
	margin: 0 0 18px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var( --alp-footer-ink-faint );
	display: flex;
	align-items: center;
	gap: 10px;
}

.alp-footer__contact h4::before {
	content: "";
	width: 6px;
	height: 6px;
	background: var( --alp-footer-accent );
	flex: none;
}

.alp-footer__contact-list {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.alp-footer__contact-list li {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 12px;
	align-items: center;
	font-size: 13px;
	color: var( --alp-footer-ink );
}

.alp-footer__contact-list svg {
	width: 18px;
	height: 18px;
}

.alp-footer__contact-list a {
	color: var( --alp-footer-ink );
	text-decoration: none;
	transition: color 160ms ease;
}

.alp-footer__contact-list a:hover { color: var( --alp-footer-accent ); }

.alp-footer__contact-list a:focus-visible {
	outline: 2px solid var( --alp-footer-accent );
	outline-offset: 3px;
}

.alp-footer__contact-value {
	color: var( --alp-footer-ink-faint );
	font-size: 11px;
	letter-spacing: 0.08em;
	margin-left: 6px;
}

.alp-footer__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: var( --alp-footer-accent );
	color: #ffffff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	border-radius: 4px;
	transition: background 180ms ease, transform 180ms ease;
}

.alp-footer__cta:hover {
	background: var( --alp-footer-amber );
	color: #ffffff;
	transform: translateY( -1px );
}

.alp-footer__cta:focus-visible {
	outline: 2px solid var( --alp-footer-amber );
	outline-offset: 3px;
}

.alp-footer__cta svg {
	width: 16px;
	height: 16px;
}

/* ---------- Bottom bar ---------- */
.alp-footer__bottom {
	grid-column: 1 / -1;
	margin-top: 48px;
	padding-top: 18px;
	border-top: 1px solid var( --alp-footer-rule );
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 11px;
	color: var( --alp-footer-ink-faint );
	letter-spacing: 0.12em;
}

.alp-footer__bottom-left {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
}

.alp-footer__bottom a {
	color: var( --alp-footer-ink-soft );
	text-decoration: none;
	transition: color 160ms ease;
}

.alp-footer__bottom a:hover { color: var( --alp-footer-accent ); }

/* ---------- Responsive ---------- */
@media ( max-width: 1023px ) {
	.alp-footer__brand,
	.alp-footer__col-learn,
	.alp-footer__col-recruiting,
	.alp-footer__col-shop,
	.alp-footer__contact {
		grid-column: span 6;
	}
	.alp-footer__brand {
		grid-column: 1 / -1;
		padding-right: 0;
	}
}

@media ( max-width: 720px ) {
	.alp-footer { padding: 48px 22px 22px; }
	.alp-footer__brand,
	.alp-footer__col-learn,
	.alp-footer__col-company,
	.alp-footer__col-shop,
	.alp-footer__contact {
		grid-column: 1 / -1;
	}
	.alp-footer__bottom {
		flex-direction: column;
		gap: 8px;
		align-items: flex-start;
	}
	.alp-footer__bottom-left { gap: 14px; }
}

@media ( prefers-reduced-motion: reduce ) {
	.alp-footer__cta { transition: background 80ms ease; transform: none !important; }
	.alp-footer__col a { transition: none; }
}
