/**
 * ========================================================
 * XT Footer Styles - Luxury Minimal Version
 *
 * 文件位置：
 * wp-content/themes/elementra/xt-custom/assets/css/xt-footer.css
 * ========================================================
 */

.xt-footer {
	--xt-footer-bg: #0f0f10;
	--xt-footer-bg-soft: #141415;
	--xt-footer-line: rgba(255, 255, 255, 0.08);
	--xt-footer-line-soft: rgba(255, 255, 255, 0.05);
	--xt-footer-text: rgba(255, 255, 255, 0.72);
	--xt-footer-muted: rgba(255, 255, 255, 0.48);
	--xt-footer-title: #ffffff;
	--xt-footer-accent: #b89667;
	--xt-footer-max: 1240px;

	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at top right, rgba(184, 150, 103, 0.10), transparent 24%),
		linear-gradient(180deg, var(--xt-footer-bg-soft) 0%, var(--xt-footer-bg) 100%);
	color: var(--xt-footer-text);
	padding: 96px 0 28px;
	font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.xt-footer * {
	box-sizing: border-box;
}

.xt-footer a {
	color: inherit;
	text-decoration: none;
}

.xt-footer__container {
	width: min(var(--xt-footer-max), calc(100% - 48px));
	margin: 0 auto;
}

.xt-footer__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
	gap: 54px;
	padding-bottom: 54px;
	border-bottom: 1px solid var(--xt-footer-line);
}

.xt-footer__hero-left {
	max-width: 760px;
}

.xt-footer__eyebrow {
	display: inline-block;
	margin-bottom: 18px;
	font-size: 12px;
	line-height: 1;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--xt-footer-accent);
}

.xt-footer__headline {
	margin: 0 0 20px;
	color: var(--xt-footer-title);
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.16;
	letter-spacing: -0.04em;
	font-weight: 700;
	max-width: 760px;
}

.xt-footer__intro {
	margin: 0;
	max-width: 680px;
	font-size: 15px;
	line-height: 1.9;
	color: var(--xt-footer-text);
}

.xt-footer__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.xt-footer__meta span {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	border: 1px solid var(--xt-footer-line);
	border-radius: 999px;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.70);
	background: rgba(255, 255, 255, 0.02);
}

.xt-footer__hero-right {
	padding-left: 28px;
	border-left: 1px solid var(--xt-footer-line-soft);
}

.xt-footer__subscribe-label {
	margin-bottom: 10px;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--xt-footer-accent);
}

.xt-footer__subscribe-text {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.8;
	color: var(--xt-footer-muted);
}

.xt-footer__subscribe-form {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border: 1px solid var(--xt-footer-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
}

.xt-footer__subscribe-form input {
	flex: 1;
	min-width: 0;
	height: 46px;
	border: 0;
	outline: none;
	background: transparent;
	padding: 0 14px;
	color: #ffffff;
	font-size: 14px;
	box-shadow: none;
}

.xt-footer__subscribe-form input::placeholder {
	color: rgba(255, 255, 255, 0.34);
}

.xt-footer__subscribe-form button {
	flex: 0 0 auto;
	height: 46px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: #ffffff;
	color: #111111;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.xt-footer__subscribe-form button:hover {
	transform: translateY(-1px);
	background: var(--xt-footer-accent);
	color: #111111;
}

.xt-footer__message {
	display: none;
	margin-top: 12px;
	padding: 10px 14px;
	border-radius: 14px;
	font-size: 13px;
	line-height: 1.5;
	color: #dff7e6;
	background: rgba(72, 185, 107, 0.16);
	border: 1px solid rgba(72, 185, 107, 0.26);
}

.xt-footer__message.is-show {
	display: block;
}

.xt-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.xt-footer__social a {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid var(--xt-footer-line);
	background: rgba(255, 255, 255, 0.02);
	color: rgba(255, 255, 255, 0.70);
	transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.xt-footer__social a:hover {
	transform: translateY(-2px);
	border-color: var(--xt-footer-accent);
	color: #ffffff;
	background: rgba(184, 150, 103, 0.10);
}

.xt-footer__social svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.xt-footer__nav {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1.2fr;
	gap: 28px;
	padding: 44px 0;
	border-bottom: 1px solid var(--xt-footer-line);
}

.xt-footer__nav-col h4 {
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffffff;
}

.xt-footer__nav-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 12px;
}

.xt-footer__nav-col li,
.xt-footer__nav-col a {
	font-size: 14px;
	line-height: 1.7;
	color: var(--xt-footer-muted);
}

.xt-footer__nav-col a {
	transition: color 0.25s ease, transform 0.25s ease;
}

.xt-footer__nav-col a:hover {
	color: #ffffff;
	transform: translateX(2px);
}

.xt-footer__nav-col--contact li {
	color: rgba(255, 255, 255, 0.68);
}

.xt-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding-top: 22px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.42);
}

.xt-footer__bottom-links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.xt-footer__bottom-links a {
	color: rgba(255, 255, 255, 0.42);
	transition: color 0.25s ease;
}

.xt-footer__bottom-links a:hover {
	color: #ffffff;
}

@media (max-width: 1100px) {
	.xt-footer__hero {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.xt-footer__hero-right {
		padding-left: 0;
		border-left: 0;
		padding-top: 4px;
	}

	.xt-footer__nav {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.xt-footer {
		padding: 72px 0 24px;
	}

	.xt-footer__container {
		width: min(100% - 28px, var(--xt-footer-max));
	}

	.xt-footer__headline {
		font-size: 32px;
	}

	.xt-footer__hero {
		padding-bottom: 38px;
	}

	.xt-footer__nav {
		grid-template-columns: 1fr;
		padding: 34px 0;
		gap: 26px;
	}

	.xt-footer__subscribe-form {
		flex-direction: column;
		align-items: stretch;
		border-radius: 20px;
		padding: 10px;
	}

	.xt-footer__subscribe-form input,
	.xt-footer__subscribe-form button {
		width: 100%;
	}

	.xt-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}