/**
 * SCL Footer — SKIMS-style footer (newsletter centerpiece + columns + social).
 * Loads after main.css; uses new .scl-foot* classes so it won't clash with the
 * theme's old footer rules. Keep the .site-footer class on the <footer> so the
 * theme's sticky-bar / cookie padding still applies.
 *
 * @package Specialty_Coffee_Lithuania
 * @version 1.0.0
 */

.scl-footer {
	background: var(--surface);
	border-top: 1px solid var(--line);
}

.scl-foot {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: clamp(3rem, 7vw, 5.5rem) clamp(1.2rem, 4vw, 3rem) 0;
}

/* ── Newsletter centerpiece ───────────────────────────────────────────────── */
.scl-foot__news {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
	border-bottom: 1px solid var(--line);
}
.scl-foot__news-title {
	font-family: var(--font-heading);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.1;
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	color: var(--text);
	margin: 0;
}
.scl-foot__news-sub {
	margin: 0.9rem auto 0;
	max-width: 46ch;
	color: var(--muted);
	line-height: 1.6;
	font-size: 1.02rem;
}

/* Newsletter form (the theme's scl_render_newsletter_block output) */
.scl-foot__news-form {
	margin: 1.6rem auto 0;
	max-width: 460px;
}
.scl-foot__news-form .newsletter-form {
	display: flex;
	gap: 0.6rem;
	align-items: center;
}
.scl-foot__news-form .newsletter-form input[type="email"],
.scl-foot__news-form .newsletter-form input {
	flex: 1;
	min-height: 50px;
	padding: 0 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: #fff;
	font-size: 1rem;
	font-family: var(--font-body);
	color: var(--text);
}
.scl-foot__news-form .newsletter-form button,
.scl-foot__news-form .newsletter-form button[type="submit"] {
	flex: 0 0 auto;
	min-height: 50px;
	padding: 0 1.5rem;
	border: 0;
	border-radius: var(--radius-md);
	background: var(--accent);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--ease);
}
.scl-foot__news-form .newsletter-form button:hover { background: var(--hero-button-hover-bg); }

.scl-foot__consent {
	margin: 1rem auto 0;
	max-width: 50ch;
	font-size: 0.78rem;
	line-height: 1.5;
	color: var(--muted);
}
.scl-foot__consent a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.scl-foot__consent a:hover { color: var(--accent); }

/* ── Link columns + social ────────────────────────────────────────────────── */
.scl-foot__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.scl-foot__col-title {
	font-family: var(--font-heading);
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--muted);
	margin: 0 0 1.1rem;
}
.scl-foot__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.7rem;
}
.scl-foot__menu a {
	color: var(--text);
	text-decoration: none;
	font-size: 0.98rem;
	font-weight: 500;
	transition: color var(--ease);
}
.scl-foot__menu a:hover { color: var(--hero-button-hover-bg); }

/* Big social icons */
.scl-foot__social {
	display: flex;
	gap: 0.8rem;
	flex-wrap: wrap;
}
.scl-foot__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--text);
	background: #fff;
	transition: color var(--ease), border-color var(--ease), transform var(--ease);
}
.scl-foot__social-link:hover {
	color: var(--hero-button-hover-bg);
	border-color: var(--accent);
	transform: translateY(-2px);
}
.scl-foot__social-link svg { width: 24px; height: 24px; display: block; }

/* ── Bottom bar ───────────────────────────────────────────────────────────── */
.scl-foot__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding: 1.5rem 0;
	border-top: 1px solid var(--line);
}
.scl-foot__brand {
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text);
}
.scl-foot__copy { margin: 0; font-size: 0.82rem; color: var(--muted); }
.scl-foot__copy a { color: var(--muted); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
	.scl-foot__cols { grid-template-columns: 1fr 1fr; }
	.scl-foot__col--social { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.scl-foot__cols {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.scl-foot__menu { justify-items: center; }
	.scl-foot__social { justify-content: center; }
	.scl-foot__news-form .newsletter-form { flex-direction: column; }
	.scl-foot__news-form .newsletter-form input,
	.scl-foot__news-form .newsletter-form button { width: 100%; }
	.scl-foot__bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
}
