/* =============================================================
   Uni Hero — Plugin CSS standalone
   No depende de ningún tema, child theme ni variable externa.
   ============================================================= */

.uni-hero {
	position: relative;
	width: 100%;
	min-height: 750px;
	overflow: hidden;
	color: #fff;
	display: flex;
	flex-direction: column;
}

.uh-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	animation: uhKB var(--uh-kb-dur, 18s) ease-in-out infinite alternate;
}
@keyframes uhKB {
	from { transform: scale(1); }
	to   { transform: scale(var(--uh-kb-scale, 1.08)); }
}

.uh-grad {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.uh-pat {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

/* --- Content --- */
.uh-content {
	position: relative;
	z-index: 2;
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
	padding: 90px 80px 130px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	box-sizing: border-box;
}

.uh-badge {
	color: var(--uh-accent, #E30613);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 20px;
	opacity: 0;
	animation: uhFL .6s ease .1s forwards;
}
.uh-badge svg { width: 16px; height: 16px; fill: var(--uh-accent, #E30613); flex-shrink: 0; }

.uh-title {
	margin: 0 0 20px;
	font-size: 90px;
	font-weight: 900;
	line-height: .95;
	color: #fff;
	text-shadow: 0 2px 12px rgba(0,0,0,.45);
	opacity: 0;
	animation: uhFL .6s ease .25s forwards;
}
.uh-l1 { display: block; }
.uh-l2 {
	display: block;
	color: var(--uh-accent, #E30613);
	font-size: 110px;
	font-style: italic;
	opacity: 0;
	animation: uhFL .6s ease .4s forwards;
}

.uh-title.uh-title--shadow3d { text-shadow: 2px 2px 0 rgba(0,0,0,.5), 4px 4px 0 rgba(0,0,0,.35), 6px 6px 10px rgba(0,0,0,.3); }
.uh-title.uh-title--outline  { text-shadow: none; -webkit-text-stroke: 2px rgba(0,0,0,.6); }
.uh-title.uh-title--none     { text-shadow: none; }

.uh-divider {
	width: 60px;
	height: 4px;
	background: var(--uh-accent, #E30613);
	margin: 0 0 20px;
	opacity: 0;
	animation: uhFI .5s ease .5s forwards;
}

.uh-sub {
	width: 450px;
	max-width: 100%;
	font-size: 16px;
	line-height: 1.5;
	color: #fff;
	margin: 0 0 24px;
	opacity: 0;
	animation: uhFI .6s ease .6s forwards;
}

/* --- Icons pill --- */
.uh-icons {
	width: 460px;
	max-width: 100%;
	display: flex;
	background: rgba(255,255,255,.9);
	border-radius: 12px;
	padding: 10px;
	margin: 0 0 24px;
	opacity: 0;
	animation: uhFI .6s ease .75s forwards;
}
.uh-ic {
	flex: 1;
	text-align: center;
	padding: 6px 4px;
	font-size: 11.5px;
	font-weight: 600;
	color: #1A1A1A;
	line-height: 1.25;
}
.uh-sep .uh-ic:not(:first-child) { border-left: 1px solid rgba(0,0,0,.15); }
.uh-ic svg {
	display: block;
	width: 22px;
	height: 22px;
	fill: var(--uh-accent, #E30613);
	margin: 0 auto 6px;
}

/* --- Ball links --- */
.uni-hero .uh-balls {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 14px;
	margin: 0 0 24px;
	opacity: 0;
	animation: uhFI .6s ease .85s forwards;
}
.uni-hero a.uh-ball,
.uni-hero a.uh-ball:link,
.uni-hero a.uh-ball:visited {
	width: 72px !important;
	height: 72px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	background: var(--uh-accent, #E30613) !important;
	color: #fff !important;
	font-size: 10.5px !important;
	font-weight: 700 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	letter-spacing: .3px;
	line-height: 1.2 !important;
	padding: 6px !important;
	margin: 0 !important;
	border: none !important;
	box-shadow: 0 4px 16px rgba(0,0,0,.25);
	transition: transform .25s ease, box-shadow .25s ease;
	cursor: pointer;
}
.uni-hero a.uh-ball:hover,
.uni-hero a.uh-ball:focus {
	transform: scale(1.12);
	box-shadow: 0 6px 24px rgba(0,0,0,.35);
	color: #fff !important;
	text-decoration: none !important;
	background: var(--uh-accent, #E30613) !important;
}
.uni-hero a.uh-ball:active {
	transform: scale(.96);
}
.uni-hero .uh-ball span {
	pointer-events: none;
}

/* --- CTA --- */
.uh-cta {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	opacity: 0;
	animation: uhFU .6s ease .9s forwards;
}

.uh-btn1, .uh-btn2 {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 35px;
	border-radius: 30px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .3px;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .2s, background-color .2s;
}
.uh-btn1 { background: var(--uh-accent, #E30613); color: #fff !important; }
.uh-btn1:hover { background: var(--uh-accent-dark, #b70510); transform: translateY(-2px); }

.uh-btn2 { background: transparent; border: 2px solid #fff; color: #fff !important; line-height: 1.2; }
.uh-btn2:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.uh-btn2 small { display: block; font-size: 11px; font-weight: 400; opacity: .85; }
.uh-btn2 svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

/* --- Stats bar --- */
.uh-stats {
	position: absolute;
	left: 0; bottom: 0;
	width: 100%;
	background: rgba(0,0,0,.55);
	display: flex;
	z-index: 2;
	opacity: 0;
	animation: uhFU .6s ease 1.05s forwards;
}
.uh-st {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 20px 24px;
	border-left: 2px solid var(--uh-accent, #E30613);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
}
.uh-st:first-child { border-left: none; }
.uh-st svg { width: 36px !important; height: 36px !important; fill: var(--uh-accent, #E30613); flex-shrink: 0; }
.uh-st span { display: block; }
.uh-st span span { font-size: 12px; font-weight: 400; text-transform: none; margin-top: 2px; }

/* --- Alignment --- */
.uni-hero--v-top    { justify-content: flex-start; }
.uni-hero--v-center { justify-content: center; }
.uni-hero--v-bottom { justify-content: flex-end; }

.uni-hero--h-center .uh-content { align-items: center; text-align: center; }
.uni-hero--h-center .uh-cta     { justify-content: center; }
.uni-hero--h-right  .uh-content { align-items: flex-end; text-align: right; }
.uni-hero--h-right  .uh-cta     { justify-content: flex-end; }

/* --- Animations --- */
@keyframes uhFL { from{opacity:0;transform:translateX(-24px)} to{opacity:1;transform:translateX(0)} }
@keyframes uhFI { from{opacity:0} to{opacity:1} }
@keyframes uhFU { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

/* --- Responsive --- */
@media (max-width:1240px) {
	.uni-hero { min-height: 700px; }
	.uh-content { padding: 80px 50px 140px; }
	.uh-title { font-size: 75px; }
	.uh-l2 { font-size: 90px; }
}
@media (max-width:1024px) {
	.uni-hero { min-height: 0; }
	.uh-content { padding: 60px 50px 40px; }
	.uh-title { font-size: 60px; }
	.uh-l2 { font-size: 72px; }
	.uh-sub { width: 400px; }
	.uh-icons { width: 420px; }
	.uh-balls { justify-content: center; }
	.uh-stats { position: static; flex-wrap: wrap; }
	.uh-st { flex:1 1 50%; border-left:none; border-top:2px solid var(--uh-accent,#E30613); padding:14px 24px; }
	.uh-st:nth-child(odd) { border-right:1px solid rgba(255,255,255,.15); }
}
@media (max-width:778px) {
	.uni-hero { min-height: 0; }
	.uh-content { padding: 24px 24px 32px; }
	.uh-badge { font-size: 12px; }
	.uh-title { font-size: 42px; line-height: 1; }
	.uh-l2 { font-size: 50px; }
	.uh-sub { width: auto; font-size: 14px; }
	.uh-icons { width:100%; flex-wrap:wrap; gap:0; }
	.uh-ic { flex:1 1 50%; }
	.uh-sep .uh-ic:not(:first-child) { border-left:none; }
	.uh-sep .uh-ic:nth-child(odd) { border-right:1px solid rgba(0,0,0,.15); }
	.uh-sep .uh-ic:nth-child(n+3) { border-top:1px solid rgba(0,0,0,.15); }
	.uh-balls { justify-content:center; }
	.uh-ball { width:60px !important; height:60px !important; font-size:9px; }
	.uh-cta { flex-direction:column; width:100%; }
	.uh-btn1, .uh-btn2 { justify-content:center; width:100%; }
	.uh-stats { position:static; flex-wrap:wrap; }
	.uh-st { flex:1 1 50%; border-left:none; border-top:2px solid var(--uh-accent,#E30613); padding:14px 20px; font-size:11px; }
}
