/**
 * PRGI Registration homepage hero.
 * Desktop layout: 768px and above.
 * Mobile layout: 767px and below.
 */

:root {
	--prgi-hero-bg: #f5f9ff;
	--prgi-hero-primary: #c5161d;
	--prgi-hero-dark: #10243e;
	--prgi-hero-accent: #ffbd2e;
}

/* Appearance > PRGI Hero admin screen. */
.prgireg-hero-admin {
	max-width: 1050px;
}

.prgireg-admin-card {
	margin: 20px 0;
	padding: 5px 24px 15px;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
}

.prgireg-admin-card h2 {
	margin: 0 -24px 5px;
	padding: 16px 24px;
	border-bottom: 1px solid #edf0f3;
	font-size: 16px;
}

.prgireg-image-preview {
	display: flex;
	width: 360px;
	max-width: 100%;
	min-height: 170px;
	align-items: center;
	justify-content: center;
	padding: 8px;
	border: 1px dashed #a7aaad;
	border-radius: 8px;
	background: #f6f7f7;
}

.prgireg-image-preview.is-empty::before {
	content: "No image selected";
	color: #646970;
}

.prgireg-image-preview img {
	display: block;
	max-width: 100%;
	max-height: 230px;
	border-radius: 5px;
}

/* Public homepage hero. */
.prgireg-hero,
.prgireg-hero * {
	box-sizing: border-box;
}

.prgireg-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: linear-gradient(120deg, var(--prgi-hero-bg) 0%, #fff 46%, var(--prgi-hero-bg) 100%);
	color: #26384e;
	font-family: "Poppins", Arial, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

.prgireg-hero__container {
	position: relative;
	z-index: 3;
	display: grid;
	width: min(100% - 40px, 1240px);
	min-height: 500px;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	align-items: center;
	gap: 50px;
	margin: 0 auto;
	padding: 28px 0;
}

.prgireg-hero__pattern {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: .36;
	background-image: radial-gradient(circle at center, rgba(16, 36, 62, .14) 1.2px, transparent 1.5px);
	background-size: 25px 25px;
	-webkit-mask-image: linear-gradient(90deg, #000, transparent 55%);
	mask-image: linear-gradient(90deg, #000, transparent 55%);
}

.prgireg-hero__orb {
	position: absolute;
	z-index: 0;
	border-radius: 50%;
	filter: blur(2px);
	opacity: .15;
	animation: prgiregHeroFloat 9s ease-in-out infinite;
}

.prgireg-hero__orb--one {
	top: -140px;
	right: -130px;
	width: 430px;
	height: 430px;
	background: var(--prgi-hero-primary);
}

.prgireg-hero__orb--two {
	bottom: -170px;
	left: 43%;
	width: 280px;
	height: 280px;
	background: var(--prgi-hero-accent);
	animation-delay: -4s;
}

.prgireg-hero__spark {
	position: absolute;
	z-index: 1;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--prgi-hero-accent);
	box-shadow: 0 0 0 7px color-mix(in srgb, var(--prgi-hero-accent) 16%, transparent), 0 0 24px var(--prgi-hero-accent);
	animation: prgiregHeroBlink 2.6s ease-in-out infinite;
}

.prgireg-hero__spark--1 { top: 17%; left: 6%; }
.prgireg-hero__spark--2 { top: 28%; left: 48%; animation-delay: -1.3s; }
.prgireg-hero__spark--3 { right: 7%; bottom: 16%; animation-delay: -.7s; }
.prgireg-hero__spark--4 { bottom: 12%; left: 36%; animation-delay: -2s; }

.prgireg-hero__content {
	position: relative;
	z-index: 2;
	max-width: 690px;
}

.prgireg-hero__eyebrow {
	display: flex;
	width: max-content;
	max-width: 100%;
	align-items: center;
	gap: 9px;
	margin: 0 0 19px;
	padding: 8px 13px;
	border: 1px solid color-mix(in srgb, var(--prgi-hero-primary) 20%, #fff);
	border-radius: 999px;
	background: color-mix(in srgb, var(--prgi-hero-primary) 6%, #fff);
	color: var(--prgi-hero-primary);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .075em;
	line-height: 1.25;
	text-transform: uppercase;
}

.prgireg-hero__eyebrow-dot {
	position: relative;
	width: 8px;
	height: 8px;
	flex: none;
	border-radius: 50%;
	background: var(--prgi-hero-primary);
}

.prgireg-hero__eyebrow-dot::before {
	content: "";
	position: absolute;
	inset: -5px;
	border: 1px solid var(--prgi-hero-primary);
	border-radius: 50%;
	animation: prgiregHeroPulse 1.8s ease-out infinite;
}

.prgireg-hero__title {
	margin: 0;
	color: var(--prgi-hero-dark);
	font-family: inherit;
	font-size: 35px;
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.08;
	text-wrap: balance;
}

.prgireg-hero__title span,
.prgireg-hero__title strong {
	display: block;
}

.prgireg-hero__title strong {
	position: relative;
	width: max-content;
	max-width: 100%;
	margin-top: 5px;
	color: var(--prgi-hero-primary);
	font-weight: 800;
}

.prgireg-hero__title strong::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -7px;
	left: 0;
	height: 5px;
	border-radius: 50%;
	background: linear-gradient(90deg, var(--prgi-hero-accent), transparent 88%);
	opacity: .9;
	transform: skewX(-18deg);
}

.prgireg-hero__description {
	max-width: 640px;
	margin: 28px 0 0;
	color: #000;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.75;
}

.prgireg-hero__buttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: 13px;
	margin-top: 30px;
}

.prgireg-hero__button {
	display: inline-flex;
	min-height: 51px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 12px 21px;
	border: 1.5px solid transparent;
	border-radius: 11px;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.prgireg-hero__button--title-check {
	width: 100%;
	grid-column: 1 / -1;
}

.prgireg-hero__button svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
	transition: transform .22s ease;
}

.prgireg-hero__button:hover {
	transform: translateY(-3px);
}

.prgireg-hero__button:hover svg {
	transform: translateX(3px);
}

.prgireg-hero__button--primary {
	background: var(--prgi-hero-primary);
	color: #fff !important;
	box-shadow: 0 12px 27px color-mix(in srgb, var(--prgi-hero-primary) 26%, transparent);
}

.prgireg-hero__button--primary:hover {
	background: color-mix(in srgb, var(--prgi-hero-primary) 88%, #000);
	color: #fff;
}

.prgireg-hero__button--secondary {
	border-color: #cdd7e2;
	background: rgba(255, 255, 255, .78);
	color: var(--prgi-hero-dark) !important;
	box-shadow: 0 8px 20px rgba(16, 36, 62, .06);
	backdrop-filter: blur(8px);
}

.prgireg-hero__button--secondary:hover {
	border-color: var(--prgi-hero-primary);
	background: #fff;
	color: var(--prgi-hero-primary) !important;
}

.prgireg-hero__trust {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 11px 19px;
	margin: 15px 0 0;
	padding: 10px 0 0;
	border-top: 1px solid rgba(16, 36, 62, .1);
	list-style: none;
}

.prgireg-hero__trust li {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	color: #44566a;
	font-size: 15px;
	font-weight: 800;
}

.prgireg-hero__trust--whatsapp a {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #128c57 !important;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: .02em;
	text-decoration: none;
}

.prgireg-hero__trust--whatsapp a:hover {
	color: #08783f !important;
}

.prgireg-hero__trust--whatsapp .prgireg-hero__check {
	width: 34px;
	height: 34px;
	background: #25d366;
	color: #fff;
	box-shadow: 0 7px 16px rgba(37, 211, 102, .25);
}

.prgireg-hero__trust--whatsapp .prgireg-hero__check svg {
	width: 21px;
	height: 21px;
}

.prgireg-hero__check {
	display: inline-flex;
	width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
	flex: none;
	border-radius: 50%;
	background: color-mix(in srgb, var(--prgi-hero-primary) 10%, #fff);
	color: var(--prgi-hero-primary);
}

.prgireg-hero__check svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
}

.prgireg-hero__visual {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 510px;
	justify-self: end;
	padding: 16px;
}

.prgireg-hero__visual-ring {
	position: absolute;
	inset: 4% -3% -5% 12%;
	z-index: -1;
	border: 2px dashed color-mix(in srgb, var(--prgi-hero-primary) 24%, transparent);
	border-radius: 44% 56% 49% 51% / 55% 46% 54% 45%;
	animation: prgiregHeroRotate 35s linear infinite;
}

.prgireg-hero__image-card {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1.08 / 1;
	border: 8px solid rgba(255, 255, 255, .92);
	border-radius: 28px;
	background: linear-gradient(145deg, #fff, #eaf1f9);
	box-shadow: 0 28px 65px rgba(16, 36, 62, .18), 0 6px 18px rgba(16, 36, 62, .08);
	transform: rotate(1.2deg);
}

.prgireg-hero__image-card::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, transparent 65%, rgba(16, 36, 62, .1));
}

.prgireg-hero__image-card > img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.prgireg-hero__image-card--default {
	background: radial-gradient(circle at 52% 32%, #9f1212 0%, #d5eaff 46%, #b1b5b8 100%);
}

.prgireg-hero__image-card--default::before {
	content: "";
	position: absolute;
	inset: 7%;
	z-index: 0;
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: 22px;
	background: linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(223, 234, 245, .28));
	box-shadow: inset 0 0 35px rgba(255, 255, 255, .65);
}

.prgireg-hero__image-card--default > img {
	padding: 1px 12px 0;
	object-fit: contain;
	object-position: center bottom;
	filter: drop-shadow(0 18px 18px rgba(16, 36, 62, .2));
	transform: scale(.98);
	transform-origin: center bottom;
}

.prgireg-hero__image-accent {
	position: absolute;
	top: -57px;
	right: -57px;
	z-index: 2;
	width: 115px;
	height: 115px;
	border-radius: 50%;
	background: var(--prgi-hero-accent);
	opacity: .9;
}

.prgireg-hero__badge {
	position: absolute;
	z-index: 4;
	display: flex;
	min-height: 51px;
	align-items: center;
	gap: 9px;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, .85);
	border-radius: 12px;
	background: rgba(255, 255, 255, .91);
	color: var(--prgi-hero-dark);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	box-shadow: 0 14px 30px rgba(16, 36, 62, .15);
	backdrop-filter: blur(10px);
	animation: prgiregBadgeFloat 4s ease-in-out infinite;
}

.prgireg-hero__badge > span {
	display: flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	flex: none;
	border-radius: 9px;
	background: color-mix(in srgb, var(--prgi-hero-primary) 10%, #fff);
	color: var(--prgi-hero-primary);
}

.prgireg-hero__badge svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.prgireg-hero__badge b {
	font-weight: 800;
	white-space: nowrap;
}

.prgireg-hero__badge--top {
	top: 1px;
	right: -5px;
}

.prgireg-hero__badge--bottom {
	bottom: 1px;
	left: -8px;
	animation-delay: -2s;
}

.prgireg-hero__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 40px;
	background: linear-gradient(145deg, #f8fbff, #e6eef8);
	text-align: center;
}

.prgireg-hero__document-icon {
	display: flex;
	width: 78px;
	height: 78px;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	border-radius: 22px;
	background: var(--prgi-hero-primary);
	color: #fff;
	box-shadow: 0 14px 30px color-mix(in srgb, var(--prgi-hero-primary) 25%, transparent);
}

.prgireg-hero__document-icon svg {
	width: 42px;
	height: 42px;
	fill: currentColor;
}

.prgireg-hero__document-copy {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.prgireg-hero__document-copy strong {
	color: var(--prgi-hero-dark);
	font-size: 25px;
	font-weight: 800;
	line-height: 1.1;
}

.prgireg-hero__document-copy span {
	max-width: 300px;
	color: #66778a;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

.prgireg-hero__placeholder ul {
	width: min(100%, 300px);
	margin: 22px 0 0;
	padding: 16px 18px;
	border: 1px solid #dce5ef;
	border-radius: 12px;
	background: rgba(255, 255, 255, .72);
	list-style: none;
	text-align: left;
}

.prgireg-hero__placeholder li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 7px 0;
	color: #43566b;
	font-size: 14px;
	font-weight: 700;
}

.prgireg-hero__placeholder li span {
	display: flex;
	width: 18px;
	height: 18px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #e9f7ef;
	color: #168547;
}

.prgireg-hero__placeholder li svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
}

.prgireg-hero__placeholder small {
	margin-top: 18px;
	color: var(--prgi-hero-primary);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
}

@keyframes prgiregHeroBlink {
	0%, 100% { opacity: .25; transform: scale(.72); }
	50% { opacity: 1; transform: scale(1.18); }
}

@keyframes prgiregHeroPulse {
	0% { opacity: .75; transform: scale(.65); }
	100% { opacity: 0; transform: scale(1.55); }
}

@keyframes prgiregHeroFloat {
	0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
	50% { transform: translate3d(0, 18px, 0) scale(1.04); }
}

@keyframes prgiregBadgeFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

@keyframes prgiregHeroRotate {
	to { transform: rotate(360deg); }
}

@supports not (color: color-mix(in srgb, #000 10%, transparent)) {
	.prgireg-hero__eyebrow { border-color: #ead0d2; background: #fff7f7; }
	.prgireg-hero__button--primary { box-shadow: 0 12px 27px rgba(197, 22, 29, .25); }
	.prgireg-hero__check,
	.prgireg-hero__badge > span { background: #fff0f0; }
	.prgireg-hero__visual-ring { border-color: rgba(197, 22, 29, .25); }
}

@media (max-width: 767px) {
	.prgireg-hero {
		font-size: 15px;
		font-weight: 600;
	}

	.prgireg-hero__container {
		width: min(100% - 28px, 1240px);
		min-height: 0;
		grid-template-columns: minmax(0, 1fr);
		gap: 35px;
		padding: 29px 0 36px;
	}

	.prgireg-hero__content {
		max-width: 100%;
		text-align: center;
	}

	.prgireg-hero__eyebrow {
		margin: 0 auto 17px;
		padding: 7px 10px;
		font-size: 13px;
		font-weight: 800;
		letter-spacing: .055em;
	}

	.prgireg-hero__title {
		font-size: 32px;
		font-weight: 800;
		letter-spacing: -.025em;
		line-height: 1.12;
	}

	.prgireg-hero__title strong {
		width: auto;
		font-weight: 800;
	}

	.prgireg-hero__description {
		margin: 22px auto 0;
		font-size: 15px;
		font-weight: 600;
		line-height: 1.65;
	}

	.prgireg-hero__buttons {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 25px;
	}

	.prgireg-hero__button,
	.prgireg-hero__button--title-check {
		width: 100%;
		min-height: 49px;
		grid-column: auto;
		font-size: 14px;
		font-weight: 800;
	}

	.prgireg-hero__trust {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		gap: 11px;
		margin-top: 23px;
		padding-top: 17px;
		text-align: center;
	}

	.prgireg-hero__trust li {
		font-size: 13px;
		font-weight: 800;
	}

	.prgireg-hero__trust--whatsapp a {
		font-size: 18px;
		font-weight: 900;
	}

	.prgireg-hero__visual {
		width: min(100%, 520px);
		justify-self: center;
		padding: 20px 1px;
	}

	.prgireg-hero__image-card {
		border-width: 6px;
		border-radius: 21px;
	}

	.prgireg-hero__badge {
		min-height: 43px;
		padding: 7px 9px;
		font-size: 13px;
		font-weight: 800;
	}

	.prgireg-hero__badge > span {
		width: 27px;
		height: 27px;
	}

	.prgireg-hero__badge svg {
		width: 16px;
		height: 16px;
	}

	.prgireg-hero__badge--top {
		top: -1px;
		right: -4px;
	}

	.prgireg-hero__badge--bottom {
		bottom: -4px;
		left: -4px;
	}

	.prgireg-hero__pattern {
		-webkit-mask-image: linear-gradient(#000, transparent 75%);
		mask-image: linear-gradient(#000, transparent 75%);
	}

	.prgireg-hero__placeholder {
		padding: 25px 24px;
	}

	.prgireg-hero__document-icon {
		width: 60px;
		height: 60px;
		margin-bottom: 13px;
		border-radius: 16px;
	}

	.prgireg-hero__document-icon svg {
		width: 31px;
		height: 31px;
	}

	.prgireg-hero__document-copy strong {
		font-size: 20px;
		font-weight: 800;
	}

	.prgireg-hero__document-copy span,
	.prgireg-hero__placeholder li,
	.prgireg-hero__placeholder small {
		font-size: 13px;
		font-weight: 700;
	}

	.prgireg-hero__placeholder ul {
		margin-top: 15px;
		padding: 10px 13px;
	}

	.prgireg-hero__placeholder li {
		margin: 5px 0;
	}
}
