/**
 * Site footer.
 *
 * Scoped to the .onc-foot-* elements this plugin renders. The call to action
 * and the footer body share one background so they read as a single block;
 * place both in a full-width row with no padding of its own.
 *
 * The background artwork is passed in from WordPress as a custom property on
 * the element, so no media URL is ever hardcoded in this file.
 */

.onc-foot {
	--onc-f-pink: #F21967;
	--onc-f-pink-dark: #cd0b50;
	--onc-f-pink-soft: #f5639a;
	--onc-f-bg: #1D1B36;
	--onc-f-title: #ffffff;
	--onc-f-text: #d9d8e6;
	--onc-f-muted: #a3a1bb;
	--onc-f-label: #8f8daa;
	--onc-f-line: rgba(255, 255, 255, .1);
	--onc-f-width: 1200px;

	box-sizing: border-box;
	background: var(--onc-f-bg);
	color: var(--onc-f-text);
	font-size: 16px;
	line-height: 1.6;
	text-align: left;
}

.onc-foot *,
.onc-foot *::before,
.onc-foot *::after { box-sizing: border-box; }

.onc-foot :where(h2, p, ul) { margin: 0; padding: 0; }
.onc-foot :where(ul) { list-style: none; }
.onc-foot :where(li) { margin: 0; }
.onc-foot :where(img) { display: block; max-width: 100%; height: auto; }
.onc-foot :where(a) { color: inherit; text-decoration: none; }
.onc-foot a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }

.onc-foot-wrap { width: min(var(--onc-f-width), calc(100% - 64px)); margin-inline: auto; }

.onc-foot-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ------------------------------------------------------- Call to action -- */

.onc-foot-cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

/* The artwork's soft shadows would show a hard edge where the section ends,
   so it fades out before the footer body starts. */
.onc-foot-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--onc-foot-cta-bg, none) no-repeat center / calc(100% + 160px) auto;
	-webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent);
	mask-image: linear-gradient(to bottom, #000 65%, transparent);
	pointer-events: none;
}

.onc-foot-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	padding-block: 88px 70px;
	border-bottom: 1px solid var(--onc-f-line);
}

.onc-foot-cta__text { flex: 1 1 auto; min-width: 0; }

.onc-foot-cta__badge {
	display: inline-block;
	margin-bottom: 26px;
	padding: 6px 16px;
	border: 1px solid rgba(242, 25, 103, .55);
	border-radius: 999px;
	color: var(--onc-f-pink-soft);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
}

.onc-foot .onc-foot-cta__title {
	color: var(--onc-f-title);
	font-size: clamp(34px, 3.5vw, 50px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.035em;
}

.onc-foot-cta__sub {
	margin-top: 22px;
	color: var(--onc-f-muted);
	font-size: 19px;
	line-height: 1.55;
}

.onc-foot-cta__actions { display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }
.onc-foot-cta__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

.onc-foot .onc-foot-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	padding: 12px 26px;
	border-radius: 6px;
	background: var(--onc-f-pink);
	box-shadow: 0 10px 26px rgba(242, 25, 103, .28);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	transition: background .15s, transform .15s;
}
.onc-foot.onc-foot-cta .onc-foot-btn:hover,
.onc-foot.onc-foot-cta .onc-foot-btn:focus-visible { background: var(--onc-f-pink-dark); color: #fff; transform: translateY(-1px); }

.onc-foot .onc-foot-play {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
}
.onc-foot.onc-foot-cta .onc-foot-play:hover,
.onc-foot.onc-foot-cta .onc-foot-play:focus-visible { color: #fff; }

.onc-foot-play__circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1.5px solid rgba(255, 255, 255, .45);
	border-radius: 50%;
	transition: background .15s, border-color .15s;
}
.onc-foot-play__circle .onc-foot-icon { width: 12px; height: 12px; margin-left: 2px; }
.onc-foot-play:hover .onc-foot-play__circle { border-color: var(--onc-f-pink); background: var(--onc-f-pink); }

.onc-foot-cta__proof {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--onc-f-muted);
	font-size: 14px;
	font-weight: 600;
}
.onc-foot-cta__proof .onc-foot-icon { width: 17px; height: 17px; color: var(--onc-f-pink); }

/* ----------------------------------------------------------- Footer body -- */

.onc-foot-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr);
	gap: 40px;
	padding-block: 72px 80px;
}

.onc-foot-brand__home { display: inline-block; }
.onc-foot-brand__logo { width: 196px; max-width: 100%; height: auto; }

.onc-foot-brand__tagline {
	max-width: 270px;
	margin-top: 24px;
	color: var(--onc-f-muted);
	font-size: 15px;
	line-height: 1.6;
}

.onc-foot-social { display: flex; gap: 22px; margin-top: 28px; }
.onc-foot.onc-foot-main .onc-foot-social a { display: inline-flex; color: var(--onc-f-muted); transition: color .15s; }
.onc-foot.onc-foot-main .onc-foot-social a:hover,
.onc-foot.onc-foot-main .onc-foot-social a:focus-visible { color: #fff; }
.onc-foot-social .onc-foot-icon { width: 23px; height: 23px; }

.onc-foot .onc-foot-col__title {
	margin-bottom: 22px;
	color: var(--onc-f-label);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.onc-foot-col__list ul,
ul.onc-foot-col__list { display: grid; gap: 14px; }

.onc-foot.onc-foot-main .onc-foot-col__list a {
	color: var(--onc-f-text);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	transition: color .15s;
}
.onc-foot.onc-foot-main .onc-foot-col__list a:hover,
.onc-foot.onc-foot-main .onc-foot-col__list a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--onc-f-pink);
	text-underline-offset: 5px;
}
.onc-foot.onc-foot-main .onc-foot-col__list .current-menu-item > a { color: #fff; }

.onc-foot-contact li,
.onc-foot-contact a { display: flex; align-items: flex-start; gap: 12px; }
.onc-foot-contact li { color: var(--onc-f-text); font-size: 15px; font-weight: 400; }
.onc-foot.onc-foot-main .onc-foot-contact a { color: inherit; font-size: inherit; transition: color .15s; }
.onc-foot.onc-foot-main .onc-foot-contact a:hover,
.onc-foot.onc-foot-main .onc-foot-contact a:focus-visible { color: #fff; }
.onc-foot-contact .onc-foot-icon { margin-top: 3px; color: var(--onc-f-pink); }

.onc-foot-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px 32px;
	padding-block: 28px 44px;
	border-top: 1px solid var(--onc-f-line);
	color: var(--onc-f-muted);
	font-size: 14px;
}

.onc-foot-bottom__menu ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.onc-foot.onc-foot-main .onc-foot-bottom__menu a { color: var(--onc-f-muted); transition: color .15s; }
.onc-foot.onc-foot-main .onc-foot-bottom__menu a:hover,
.onc-foot.onc-foot-main .onc-foot-bottom__menu a:focus-visible { color: #fff; }

/* ------------------------------------------------------------ Responsive -- */

@media (max-width: 1100px) {
	.onc-foot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 48px; }
	.onc-foot-brand { grid-column: 1 / -1; }
	.onc-foot-brand__tagline { max-width: 420px; }
}

@media (max-width: 900px) {
	.onc-foot-cta__inner { flex-direction: column; align-items: flex-start; gap: 34px; padding-block: 72px 56px; }
}

@media (max-width: 700px) {
	.onc-foot-wrap { width: calc(100% - 48px); }
	.onc-foot-cta__inner { padding-block: 56px 48px; }
	.onc-foot-cta__sub { font-size: 17px; }
	.onc-foot-cta__btns { gap: 20px; }
	.onc-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; padding-block: 56px; }
	.onc-foot-col--contact { grid-column: 1 / -1; }
	.onc-foot-bottom { flex-direction: column-reverse; align-items: flex-start; padding-block: 24px 32px; }
}
