/**
 * Full Arch Treatment Coordinator Bootcamp campaign banner.
 * Direction: premium editorial campaign with an event-ticket motif.
 */

.fullarch-bootcamp-banner {
	--bootcamp-banner-ink: #090909;
	--bootcamp-banner-charcoal: #151515;
	--bootcamp-banner-orange: #faa414;
	--bootcamp-banner-cream: #fff8ea;
	--bootcamp-banner-white: #ffffff;
	--bootcamp-banner-muted: #d9d3c9;
	--bootcamp-banner-border: rgba(250, 164, 20, 0.58);
	--bootcamp-banner-radius: 24px;
	--bootcamp-banner-shadow: 0 34px 90px rgba(0, 0, 0, 0.42), 0 10px 30px rgba(0, 0, 0, 0.26);
	--bootcamp-banner-ease: cubic-bezier(0.22, 1, 0.36, 1);
	position: fixed;
	right: clamp(24px, 3vw, 48px);
	bottom: clamp(24px, 3vw, 42px);
	z-index: 60;
	display: grid;
	grid-template-columns: minmax(320px, 0.92fr) minmax(410px, 1.08fr);
	width: min(820px, calc(100% - 48px));
	min-height: 380px;
	overflow: hidden;
	border: 1px solid var(--bootcamp-banner-border);
	border-radius: var(--bootcamp-banner-radius);
	background:
		radial-gradient(circle at 96% 4%, rgba(250, 164, 20, 0.14), transparent 34%),
		linear-gradient(145deg, #202020 0%, var(--bootcamp-banner-charcoal) 72%);
	box-shadow: var(--bootcamp-banner-shadow);
	color: var(--bootcamp-banner-white);
	contain: layout paint style;
	font-family: var(--font-body, "Source Sans 3", sans-serif);
	isolation: isolate;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate3d(0, 38px, 0) scale(0.972);
	transform-origin: right bottom;
	transition:
		opacity 260ms var(--bootcamp-banner-ease),
		transform 540ms var(--bootcamp-banner-ease),
		visibility 0s linear 540ms;
}

.fullarch-bootcamp-banner::before {
	position: absolute;
	inset: 8px;
	z-index: 5;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: calc(var(--bootcamp-banner-radius) - 7px);
	pointer-events: none;
	content: "";
}

.fullarch-bootcamp-banner::after {
	position: absolute;
	inset: 0;
	z-index: 4;
	background-image: radial-gradient(rgba(255, 255, 255, 0.14) 0.6px, transparent 0.6px);
	background-size: 5px 5px;
	mix-blend-mode: soft-light;
	opacity: 0.17;
	pointer-events: none;
	content: "";
}

.fullarch-bootcamp-banner.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate3d(0, 0, 0) scale(1);
	transition-delay: 0s;
}

.fullarch-bootcamp-banner__media {
	position: relative;
	min-width: 0;
	min-height: 380px;
	overflow: hidden;
	border-right: 1px dashed rgba(255, 255, 255, 0.32);
	background: #080808;
}

.fullarch-bootcamp-banner__media::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(6, 6, 6, 0.03) 20%, rgba(6, 6, 6, 0.74) 100%),
		linear-gradient(90deg, rgba(76, 10, 82, 0.1), transparent 58%);
	pointer-events: none;
	content: "";
}

.fullarch-bootcamp-banner__picture {
	position: absolute;
	inset: 0;
	display: block;
}

.fullarch-bootcamp-banner__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	filter: saturate(1.02) contrast(1.03);
}

.fullarch-bootcamp-banner__qr {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 3;
	display: grid;
	gap: 5px;
	width: 98px;
	padding: 8px 8px 7px;
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
	color: var(--bootcamp-banner-ink);
	text-decoration: none;
	transform: rotate(-1.4deg);
	transition: box-shadow 180ms ease, transform 220ms var(--bootcamp-banner-ease);
}

.fullarch-bootcamp-banner__qr img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 3px;
}

.fullarch-bootcamp-banner__qr span {
	font-size: 8px;
	font-weight: 900;
	letter-spacing: 0.11em;
	line-height: 1.15;
	text-align: center;
	text-transform: uppercase;
}

.fullarch-bootcamp-banner__qr:hover {
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
	color: var(--bootcamp-banner-ink);
	text-decoration: none;
	transform: rotate(0) translateY(-2px);
}

.fullarch-bootcamp-banner__date {
	position: absolute;
	right: 20px;
	bottom: 20px;
	left: 20px;
	z-index: 3;
	display: grid;
	gap: 4px;
	padding: 13px 16px 14px;
	border-radius: 7px;
	background: var(--bootcamp-banner-orange);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
	color: var(--bootcamp-banner-ink);
	transform: rotate(-1deg);
}

.fullarch-bootcamp-banner__date span {
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.14em;
	line-height: 1.1;
	text-transform: uppercase;
}

.fullarch-bootcamp-banner__date strong {
	font-family: var(--font-heading, "Poppins", sans-serif);
	font-size: clamp(24px, 2.3vw, 31px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.fullarch-bootcamp-banner__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	padding: 42px 40px 34px;
}

.fullarch-bootcamp-banner__content::before,
.fullarch-bootcamp-banner__content::after {
	position: absolute;
	left: -10px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--bootcamp-banner-cream);
	content: "";
}

.fullarch-bootcamp-banner__content::before {
	top: -10px;
}

.fullarch-bootcamp-banner__content::after {
	bottom: -10px;
}

.fullarch-bootcamp-banner__eyebrow {
	margin: 0 48px 13px 0;
	color: var(--bootcamp-banner-orange);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.17em;
	line-height: 1.2;
	text-transform: uppercase;
}

.fullarch-bootcamp-banner__title {
	max-width: 11ch;
	margin: 0;
	color: var(--bootcamp-banner-white);
	font-family: var(--font-heading, "Poppins", sans-serif);
	font-size: clamp(31px, 2.7vw, 40px);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 0.96;
	text-wrap: balance;
}

.fullarch-bootcamp-banner__description {
	max-width: 36ch;
	margin: 15px 0;
	color: var(--bootcamp-banner-muted);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.38;
}

.fullarch-bootcamp-banner__contacts {
	display: grid;
	gap: 7px;
	width: 100%;
	margin: 0 0 17px;
	font-style: normal;
}

.fullarch-bootcamp-banner__contacts a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	width: fit-content;
	max-width: 100%;
	min-height: 24px;
	color: var(--bootcamp-banner-cream);
	font-size: 13px;
	font-weight: 750;
	line-height: 1.2;
	text-decoration-color: rgba(250, 164, 20, 0.5);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.fullarch-bootcamp-banner__contacts a:hover {
	color: var(--bootcamp-banner-orange);
	text-decoration-line: underline;
}

.fullarch-bootcamp-banner__contacts svg {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	fill: none;
	stroke: var(--bootcamp-banner-orange);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.fullarch-bootcamp-banner__contacts span {
	overflow-wrap: anywhere;
}

.fullarch-bootcamp-banner__action {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	min-height: 54px;
	margin-top: auto;
	padding: 0 18px 0 20px;
	border: 1px solid var(--bootcamp-banner-orange);
	border-radius: 7px;
	background: var(--bootcamp-banner-orange);
	box-shadow: 0 12px 28px rgba(230, 152, 19, 0.22);
	color: var(--bootcamp-banner-ink);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.075em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 160ms ease, box-shadow 220ms ease, transform 220ms var(--bootcamp-banner-ease);
}

.fullarch-bootcamp-banner__action svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	transition: transform 220ms var(--bootcamp-banner-ease);
}

.fullarch-bootcamp-banner__action:hover {
	background: #ffc04a;
	box-shadow: 0 16px 34px rgba(230, 152, 19, 0.3);
	color: var(--bootcamp-banner-ink);
	text-decoration: none;
	transform: translateY(-2px);
}

.fullarch-bootcamp-banner__action:hover svg {
	transform: translateX(3px);
}

.fullarch-bootcamp-banner__action:active {
	transform: translateY(0);
}

.fullarch-bootcamp-banner__action:focus-visible,
.fullarch-bootcamp-banner__qr:focus-visible,
.fullarch-bootcamp-banner__contacts a:focus-visible,
.fullarch-bootcamp-banner__close:focus-visible {
	outline: 3px solid var(--bootcamp-banner-white);
	outline-offset: 3px;
}

.fullarch-bootcamp-banner__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 7;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(8, 8, 8, 0.76);
	backdrop-filter: blur(10px);
	color: var(--bootcamp-banner-white);
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, transform 220ms var(--bootcamp-banner-ease);
}

.fullarch-bootcamp-banner__close svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 2;
}

.fullarch-bootcamp-banner__close:hover {
	border-color: var(--bootcamp-banner-orange);
	background: var(--bootcamp-banner-orange);
	color: var(--bootcamp-banner-ink);
	transform: rotate(6deg);
}

@media (max-width: 860px) and (min-width: 721px) {
	.fullarch-bootcamp-banner {
		right: 16px;
		bottom: 16px;
		grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
		width: calc(100% - 32px);
	}

	.fullarch-bootcamp-banner__content {
		padding-right: 32px;
		padding-left: 32px;
	}
}

@media (max-width: 720px) {
	body.fullarch-bootcamp-banner-is-visible {
		padding-bottom: calc(472px + env(safe-area-inset-bottom, 0px));
	}

	.fullarch-bootcamp-banner {
		right: 12px;
		bottom: max(12px, env(safe-area-inset-bottom, 0px));
		left: 12px;
		grid-template-columns: 1fr;
		grid-template-rows: 176px auto;
		width: auto;
		min-height: 0;
		border-radius: 19px;
		transform-origin: center bottom;
	}

	.fullarch-bootcamp-banner__media {
		min-height: 176px;
		border-right: 0;
		border-bottom: 1px dashed rgba(255, 255, 255, 0.32);
	}

	.fullarch-bootcamp-banner__image {
		object-position: 50% 28%;
	}

	.fullarch-bootcamp-banner__qr {
		top: 12px;
		left: 14px;
		display: grid;
		gap: 3px;
		width: 84px;
		padding: 6px 6px 5px;
		border-radius: 8px;
		transform: rotate(-1deg);
	}

	.fullarch-bootcamp-banner__qr span {
		font-size: 6.5px;
		letter-spacing: 0.08em;
	}

	.fullarch-bootcamp-banner__date {
		right: auto;
		bottom: 10px;
		left: 14px;
		width: auto;
		padding: 8px 11px 9px;
	}

	.fullarch-bootcamp-banner__date span {
		font-size: 8px;
	}

	.fullarch-bootcamp-banner__date strong {
		font-size: 21px;
	}

	.fullarch-bootcamp-banner__content {
		padding: 20px 22px;
	}

	.fullarch-bootcamp-banner__content::before,
	.fullarch-bootcamp-banner__content::after {
		top: -10px;
		bottom: auto;
	}

	.fullarch-bootcamp-banner__content::before {
		left: -10px;
	}

	.fullarch-bootcamp-banner__content::after {
		right: -10px;
		left: auto;
	}

	.fullarch-bootcamp-banner__eyebrow {
		margin: 0 0 8px;
		font-size: 10px;
	}

	.fullarch-bootcamp-banner__title {
		max-width: 100%;
		font-size: clamp(24px, 6.8vw, 27px);
		line-height: 0.98;
	}

	.fullarch-bootcamp-banner__description {
		max-width: 38ch;
		margin: 10px 0 12px;
		font-size: 13.5px;
		line-height: 1.34;
	}

	.fullarch-bootcamp-banner__contacts {
		gap: 5px;
		margin-bottom: 13px;
	}

	.fullarch-bootcamp-banner__contacts a {
		min-height: 22px;
		font-size: 12.5px;
	}

	.fullarch-bootcamp-banner__action {
		min-height: 50px;
	}

	.fullarch-bootcamp-banner__close {
		top: 12px;
		right: 12px;
	}
}

@media (max-width: 360px), (max-height: 650px) and (max-width: 720px) {
	body.fullarch-bootcamp-banner-is-visible {
		padding-bottom: calc(410px + env(safe-area-inset-bottom, 0px));
	}

	.fullarch-bootcamp-banner {
		grid-template-rows: 176px auto;
	}

	.fullarch-bootcamp-banner__media {
		min-height: 176px;
	}

	.fullarch-bootcamp-banner__image {
		object-position: 50% 22%;
	}

	.fullarch-bootcamp-banner__date {
		bottom: 9px;
		left: 13px;
		padding: 7px 10px 8px;
	}

	.fullarch-bootcamp-banner__date strong {
		font-size: 18px;
	}

	.fullarch-bootcamp-banner__content {
		padding: 16px 18px;
	}

	.fullarch-bootcamp-banner__title {
		font-size: 23px;
	}

	.fullarch-bootcamp-banner__description {
		display: none;
	}

	.fullarch-bootcamp-banner__contacts {
		margin: 10px 0;
	}

	.fullarch-bootcamp-banner__action {
		min-height: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fullarch-bootcamp-banner,
	.fullarch-bootcamp-banner__action,
	.fullarch-bootcamp-banner__action svg,
	.fullarch-bootcamp-banner__qr,
	.fullarch-bootcamp-banner__close {
		transition-duration: 1ms;
	}
}

@media print {
	.fullarch-bootcamp-banner {
		display: none;
	}
}
