/* ============================================================================
   LeArtista site footer
   ----------------------------------------------------------------------------
   Replaces the Elementor footer template. Brand vocabulary from the
   landing + blog: asymmetric radius (0 50px 50px 50px), taupe accents,
   editorial eyebrow tracking, cool gray base with warm-taupe gradient
   accent on the newsletter card.
   ========================================================================== */

:root {
	/* Mirror of the vars from blog-archive.css — we redeclare so the
	   footer renders correctly on pages that don't load that stylesheet. */
	--lalp-c-primary:    #575756;
	--lalp-c-secondary:  #A18067;
	--lalp-c-text:       #000000;
	--lalp-c-brown:      #C2B1A5;
	--lalp-c-gray-soft:  #EEEDED;
	--lalp-c-white:      #FFFFFF;
	--lalp-c-blog-bg:    #f3f4f6;
	--lalp-c-blog-mote:  #c8cdd4;
	--lalp-c-line:       rgba(87, 87, 86, .15);
	--lalp-font:         "Montserrat", Sans-serif;
	--lalp-fw-light:     200;
	--lalp-fw-regular:   300;
	--lalp-fw-medium:    400;
	--lalp-fw-bold:      500;
}

.lalp-footer {
	position: relative;
	background: var(--lalp-c-blog-bg);
	color: var(--lalp-c-primary);
	font-family: var(--lalp-font);
	font-weight: var(--lalp-fw-regular);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow: hidden;
	padding: clamp(64px, 9vw, 120px) 0 clamp(28px, 3vw, 40px);
	/* Subtle top border to seam-close any preceding section */
	border-top: 1px solid var(--lalp-c-line);
}

/* Decorative glow behind the newsletter card — soft taupe radial spotlight */
.lalp-footer__atmosphere {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}
.lalp-footer__glow {
	position: absolute;
	top: -10%;
	left: 50%;
	transform: translateX(-50%);
	width: min(900px, 80vw);
	height: 360px;
	background: radial-gradient(ellipse at center,
		rgba(161, 128, 103, .14) 0%,
		rgba(161, 128, 103, 0) 65%);
	pointer-events: none;
}

.lalp-footer__container {
	position: relative;
	z-index: 1;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 clamp(20px, 4vw, 48px);
}

/* ---------- Eyebrow (reused from blog) ---------- */
.lalp-footer .lalp-event__eyebrow,
.lalp-footer__eyebrow {
	font-size: 11px;
	font-weight: var(--lalp-fw-medium);
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--lalp-c-secondary);
	margin: 0 0 14px;
	padding-left: .28em;
	text-align: center;
}

/* ============================================================================
   Newsletter card — centerpiece
   ========================================================================== */
.lalp-footer__newsletter {
	max-width: 680px;
	margin: 0 auto clamp(56px, 8vw, 96px);
	padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px);
	background: rgba(255, 255, 255, .72);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--lalp-c-line);
	/* Brand asymmetric radius — sharp top-left, rounded everywhere else */
	border-radius: 0 50px 50px 50px;
	text-align: center;
	box-shadow:
		0 30px 60px -30px rgba(87, 87, 86, .18),
		0 8px 20px -10px rgba(87, 87, 86, .08);
}
.lalp-footer__newsletter-title {
	margin: 0 0 14px;
	font-family: var(--lalp-font);
	font-weight: var(--lalp-fw-light);
	font-size: clamp(26px, 3.4vw, 40px);
	line-height: 1.1;
	letter-spacing: -.01em;
	color: var(--lalp-c-primary);
	text-wrap: balance;
}
.lalp-footer__newsletter-lede {
	margin: 0 0 clamp(20px, 3vw, 32px);
	font-size: 14px;
	line-height: 1.6;
	color: rgba(87, 87, 86, .78);
	max-width: 48ch;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Form: email + submit pill ---------- */
.lalp-footer__form { margin: 0; }
.lalp-footer__form-row {
	display: flex;
	gap: 8px;
	background: var(--lalp-c-white);
	border: 1px solid var(--lalp-c-line);
	border-radius: 999px;
	padding: 6px 6px 6px 22px;
	transition: border-color .25s ease, box-shadow .25s ease;
}
.lalp-footer__form-row:focus-within {
	border-color: var(--lalp-c-secondary);
	box-shadow: 0 0 0 4px rgba(161, 128, 103, .12);
}
.lalp-footer .lalp-footer__form-email,
.lalp-footer input[type="email"].lalp-footer__form-email {
	flex: 1;
	min-width: 0;
	padding: 14px 0;
	font-family: var(--lalp-font);
	font-size: 15px;
	font-weight: var(--lalp-fw-regular);
	color: var(--lalp-c-text) !important;
	background: transparent !important;
	border: 0 !important;
	outline: 0 !important;
	border-radius: 0 !important;
	-webkit-appearance: none;
	appearance: none;
}
.lalp-footer .lalp-footer__form-email::placeholder {
	color: rgba(87, 87, 86, .4);
}
.lalp-footer button.lalp-footer__form-submit {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 24px;
	font-family: var(--lalp-font);
	font-size: 12px;
	font-weight: var(--lalp-fw-medium);
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--lalp-c-white) !important;
	background: var(--lalp-c-secondary) !important;
	border: 0 !important;
	border-radius: 999px;
	cursor: pointer;
	transition: background .25s ease, transform .25s ease;
}
.lalp-footer button.lalp-footer__form-submit:hover {
	background: var(--lalp-c-primary) !important;
	transform: translateY(-1px);
}
.lalp-footer button.lalp-footer__form-submit:disabled {
	opacity: .6;
	pointer-events: none;
}
.lalp-footer__form-submit-icon {
	flex-shrink: 0;
	transition: transform .25s ease;
}
.lalp-footer button.lalp-footer__form-submit:hover .lalp-footer__form-submit-icon {
	transform: translateX(2px);
}
.lalp-footer__form-status {
	margin: 14px 0 0;
	min-height: 1em;
	font-size: 13px;
	line-height: 1.5;
	color: var(--lalp-c-secondary);
	transition: color .25s ease;
}
.lalp-footer__form-status.is-error { color: #b8443f; }
.lalp-footer__form-status.is-success { color: var(--lalp-c-secondary); }

/* ============================================================================
   3-column grid
   ========================================================================== */
.lalp-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(28px, 4vw, 56px);
	padding: 0 0 clamp(40px, 5vw, 64px);
}
.lalp-footer__col-title {
	margin: 0 0 20px;
	font-family: var(--lalp-font);
	font-weight: var(--lalp-fw-medium);
	font-size: 11px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--lalp-c-secondary);
	padding-left: .28em;
	/* Hairline underline so the column titles read like editorial section heads */
	position: relative;
	padding-bottom: 14px;
}
.lalp-footer__col-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 1px;
	background: var(--lalp-c-secondary);
}

.lalp-footer__list,
.lalp-footer__contacts {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.lalp-footer .lalp-footer__list a,
.lalp-footer .lalp-footer__contacts a {
	font-family: var(--lalp-font);
	font-size: 14px;
	font-weight: var(--lalp-fw-regular);
	color: var(--lalp-c-primary) !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
	transition: color .25s ease, transform .25s ease;
	display: inline-block;
}
.lalp-footer .lalp-footer__list a:hover,
.lalp-footer .lalp-footer__contacts a:hover {
	color: var(--lalp-c-secondary) !important;
	transform: translateX(3px);
}

.lalp-footer__contacts li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	color: var(--lalp-c-primary);
}
.lalp-footer__contacts li svg {
	color: var(--lalp-c-secondary);
	flex-shrink: 0;
	margin-top: 3px;
}
.lalp-footer__contacts address {
	font-style: normal;
	font-size: 14px;
}

/* ---------- Social row ---------- */
.lalp-footer__social {
	display: flex;
	gap: 10px;
	margin-top: 24px;
}
.lalp-footer .lalp-footer__social-link,
.lalp-footer a.lalp-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--lalp-c-white);
	border: 1px solid var(--lalp-c-line);
	border-radius: 50%;
	color: var(--lalp-c-secondary) !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
	transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.lalp-footer a.lalp-footer__social-link:hover {
	background: var(--lalp-c-secondary);
	color: var(--lalp-c-white) !important;
	border-color: var(--lalp-c-secondary);
	transform: translateY(-2px);
}

/* ============================================================================
   Bottom row: copyright + designer credit
   ========================================================================== */
.lalp-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-top: clamp(28px, 4vw, 40px);
	border-top: 1px solid var(--lalp-c-line);
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(87, 87, 86, .65);
}
.lalp-footer__bottom a {
	color: var(--lalp-c-secondary) !important;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(161, 128, 103, .35) !important;
	transition: color .25s ease, border-bottom-color .25s ease;
}
.lalp-footer__bottom a:hover {
	color: var(--lalp-c-primary) !important;
	border-bottom-color: var(--lalp-c-primary) !important;
}

/* ============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
	.lalp-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.lalp-footer__grid .lalp-footer__col:last-child {
		grid-column: span 2;
	}
}

@media (max-width: 600px) {
	.lalp-footer__newsletter {
		border-radius: 0 36px 36px 36px;
		padding: 28px 22px;
	}
	/* Tighter newsletter headline + lede on mobile */
	.lalp-footer .lalp-footer__newsletter-title,
	.lalp-footer__newsletter-title {
		font-size: 22px;
		letter-spacing: -.005em;
	}
	.lalp-footer__newsletter-lede {
		font-size: 13px;
	}
	/* Section eyebrow + column titles smaller — they were reading as
	   visual headers competing with the content; shrink them to a
	   true editorial caption size on phones. */
	.lalp-footer__eyebrow,
	.lalp-footer .lalp-event__eyebrow {
		font-size: 9px;
		letter-spacing: .22em;
	}
	.lalp-footer__col-title {
		font-size: 9px;
		letter-spacing: .22em;
		margin-bottom: 12px;
		padding-bottom: 8px;
	}
	.lalp-footer__col-title::after {
		width: 20px;
	}

	.lalp-footer__form-row {
		flex-direction: column;
		gap: 8px;
		padding: 8px;
		border-radius: 24px;
	}
	.lalp-footer .lalp-footer__form-email,
	.lalp-footer input[type="email"].lalp-footer__form-email {
		padding: 14px 16px;
		text-align: center;
	}
	.lalp-footer button.lalp-footer__form-submit {
		justify-content: center;
		width: 100%;
	}

	.lalp-footer__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
	.lalp-footer__grid .lalp-footer__col:last-child {
		grid-column: span 1;
	}
	.lalp-footer__bottom {
		flex-direction: column;
		text-align: center;
	}
}
