/* ==========================================================================
   ANRA · Secciones multimedia de la portada
   - Premio Excelencia Empresarial 2026 (.anra-award)
   - Vídeo corporativo (.anra-video)
   ========================================================================== */

:root {
	--anra-yellow: #FDFC3D;
	--anra-yellow-deep: #f2e400;
	--anra-ink: #141415;
	--anra-navy: #2d5181;
	--anra-navy-dark: #1b3354;
	--anra-sky: #6fa3d8;
	--anra-paper: #f5f6f1;
}

/* ---------- Utilidades compartidas ---------- */
.anra-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
}
.anra-eyebrow::before {
	content: '';
	width: 34px;
	height: 3px;
	border-radius: 3px;
	background: currentColor;
}

.anra-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 999px;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .5px;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.anra-btn:hover,
.anra-btn:focus {
	text-decoration: none;
	transform: translateY(-2px);
}
.anra-btn:focus-visible {
	outline: 3px solid var(--anra-yellow);
	outline-offset: 3px;
}
.anra-btn--yellow {
	background: var(--anra-yellow);
	color: var(--anra-ink);
	box-shadow: 0 10px 24px -10px rgba(253, 252, 61, .7);
}
.anra-btn--yellow:hover,
.anra-btn--yellow:focus {
	color: var(--anra-ink);
	background: #fff;
	box-shadow: 0 14px 30px -10px rgba(255, 255, 255, .55);
}
.anra-btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, .45);
}
.anra-btn--ghost:hover,
.anra-btn--ghost:focus {
	color: var(--anra-ink);
	background: #fff;
	border-color: #fff;
}
.anra-btn--dark {
	background: var(--anra-ink);
	color: #fff;
}
.anra-btn--dark:hover,
.anra-btn--dark:focus {
	color: var(--anra-ink);
	background: var(--anra-yellow);
}
.anra-btn--outline {
	color: var(--anra-ink);
	border-color: var(--anra-ink);
}
.anra-btn--outline:hover,
.anra-btn--outline:focus {
	color: #fff;
	background: var(--anra-ink);
}

/* Aparición suave al hacer scroll (solo si hay JS y sin "reduced motion") */
.anra-js .anra-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}
.anra-js .anra-reveal.is-visible {
	opacity: 1;
	transform: none;
}
.anra-js .anra-reveal--delay { transition-delay: .15s; }

/* ==========================================================================
   PREMIO
   ========================================================================== */
.anra-award {
	position: relative;
	overflow: hidden;
	padding: 6em 0;
	color: #fff;
	background: var(--anra-navy-dark);
	background: linear-gradient(135deg, #172c49 0%, var(--anra-navy) 55%, #24466f 100%);
}
/* Semicírculo que recuerda al diseño de la tarjeta del premio */
.anra-award::before {
	content: '';
	position: absolute;
	right: -18%;
	top: 50%;
	width: 760px;
	height: 760px;
	border-radius: 50%;
	transform: translateY(-50%);
	background: radial-gradient(circle at 30% 50%, rgba(111, 163, 216, .28), rgba(111, 163, 216, 0) 65%);
	pointer-events: none;
}
/* Trama de puntos sutil */
.anra-award::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 320px;
	height: 220px;
	background-image: radial-gradient(rgba(255, 255, 255, .18) 1.5px, transparent 1.6px);
	background-size: 18px 18px;
	-webkit-mask-image: linear-gradient(45deg, #000 10%, transparent 75%);
	mask-image: linear-gradient(45deg, #000 10%, transparent 75%);
	pointer-events: none;
}
.anra-award .container { position: relative; z-index: 1; }

.anra-award__grid {
	display: flex;
	align-items: center;
	gap: 64px;
}
.anra-award__media,
.anra-award__body { flex: 1 1 0; min-width: 0; }

.anra-award__media {
	position: relative;
	max-width: 540px;
	padding: 18px 18px 0 0;
}
.anra-award__card {
	position: relative;
	margin: 0;
	padding: 10px;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08);
	transform: rotate(-2.5deg);
	transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.anra-award__media:hover .anra-award__card { transform: rotate(0) scale(1.02); }
.anra-award__card img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}
/* Medalla */
.anra-award__medal {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fffde0 0%, var(--anra-yellow) 45%, var(--anra-yellow-deep) 100%);
	color: var(--anra-ink);
	box-shadow: 0 0 0 6px rgba(253, 252, 61, .25), 0 14px 30px -8px rgba(0, 0, 0, .55);
	font-family: 'Open Sans', sans-serif;
	text-align: center;
	line-height: 1;
	animation: anra-medal 4s ease-in-out infinite;
}
.anra-award__medal .fa { font-size: 30px; margin-bottom: 4px; }
.anra-award__medal span { font-size: 15px; font-weight: 800; letter-spacing: 1px; }
@keyframes anra-medal {
	0%, 100% { transform: translateY(0) rotate(-6deg); }
	50%      { transform: translateY(-6px) rotate(4deg); }
}

.anra-award__body .anra-eyebrow { color: var(--anra-yellow); }
.anra-award__title {
	margin: 0 0 20px;
	font-family: 'Open Sans', sans-serif;
	font-size: 40px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.5px;
	color: #fff;
	text-transform: none;
}
.anra-award__title em {
	font-style: normal;
	color: var(--anra-yellow);
}
.anra-award__text {
	margin: 0 0 28px;
	font-size: 17px;
	line-height: 1.75;
	color: rgba(255, 255, 255, .85);
}
.anra-award__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.anra-award__meta li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .18);
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}
.anra-award__meta .fa { color: var(--anra-yellow); }
.anra-award__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* ==========================================================================
   VÍDEO
   ========================================================================== */
.anra-video {
	position: relative;
	overflow: hidden;
	padding: 6em 0 5em;
	background: var(--anra-paper);
}
.anra-video .container { position: relative; z-index: 1; }

/* Banda amarilla diagonal detrás del reproductor */
.anra-video__stage { position: relative; }
.anra-video__stage::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 48%;
	width: 160vw;
	height: 46%;
	margin-left: -80vw;
	background: var(--anra-yellow);
	transform: rotate(-4deg);
	pointer-events: none;
}

.anra-video__head {
	max-width: 760px;
	margin: 0 auto 48px;
	text-align: center;
}
.anra-video__head .anra-eyebrow { color: var(--anra-ink); }
.anra-video__head .anra-eyebrow::after {
	content: '';
	width: 34px;
	height: 3px;
	border-radius: 3px;
	background: currentColor;
}
.anra-video__title {
	margin: 0 0 16px;
	font-family: 'Open Sans', sans-serif;
	font-size: 40px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.5px;
	color: var(--anra-ink);
	text-transform: none;
}
.anra-video__title span {
	background: linear-gradient(transparent 62%, var(--anra-yellow) 62%);
	padding: 0 4px;
}
.anra-video__lead {
	margin: 0;
	font-size: 17px;
	line-height: 1.75;
	color: #555;
}

.anra-video__frame {
	position: relative;
	z-index: 1;
	max-width: 1000px;
	margin: 0 auto;
	border-radius: 24px;
	overflow: hidden;
	background: #000;
	aspect-ratio: 16 / 9;
	box-shadow: 0 50px 90px -40px rgba(20, 20, 21, .7), 0 0 0 8px #fff;
}
.anra-video__frame video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
}

/* Capa de portada con botón de reproducción (la activa el JS) */
.anra-video__cover {
	display: none;
	position: absolute;
	inset: 0;
	width: 100%;
	padding: 0;
	border: 0;
	cursor: pointer;
	color: #fff;
	text-align: left;
	background: linear-gradient(180deg, rgba(20, 20, 21, 0) 40%, rgba(20, 20, 21, .78) 100%);
	transition: opacity .4s ease, visibility .4s ease;
}
.anra-video__frame.has-cover .anra-video__cover { display: block; }
.anra-video__frame.is-playing .anra-video__cover {
	opacity: 0;
	visibility: hidden;
}
.anra-video__cover:focus { outline: none; }
.anra-video__cover:focus-visible .anra-video__play {
	outline: 3px solid #fff;
	outline-offset: 6px;
}

.anra-video__play {
	position: absolute;
	left: 50%;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 104px;
	height: 104px;
	margin: -52px 0 0 -52px;
	border-radius: 50%;
	background: var(--anra-yellow);
	color: var(--anra-ink);
	font-size: 36px;
	box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .6);
	transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.anra-video__play .fa { margin-left: 7px; }
.anra-video__play::before,
.anra-video__play::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid var(--anra-yellow);
	animation: anra-pulse 2.4s ease-out infinite;
}
.anra-video__play::after { animation-delay: 1.2s; }
.anra-video__cover:hover .anra-video__play { transform: scale(1.08); }
@keyframes anra-pulse {
	0%   { transform: scale(1);   opacity: .9; }
	100% { transform: scale(1.8); opacity: 0; }
}

.anra-video__caption {
	position: absolute;
	left: 32px;
	right: 32px;
	bottom: 26px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	font-family: 'Open Sans', sans-serif;
}
.anra-video__caption strong {
	display: block;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
}
.anra-video__caption small {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	color: rgba(255, 255, 255, .8);
}
.anra-video__duration {
	flex: none;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(20, 20, 21, .6);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
}

/* Datos destacados bajo el vídeo */
.anra-video__facts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	max-width: 1000px;
	margin: 40px auto 0;
	padding: 0;
	list-style: none;
}
.anra-video__facts li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 20px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 34px -22px rgba(20, 20, 21, .45);
	transition: transform .3s ease, box-shadow .3s ease;
}
.anra-video__facts li:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 40px -22px rgba(20, 20, 21, .55);
}
.anra-video__facts .fa {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--anra-ink);
	color: var(--anra-yellow);
	font-size: 20px;
}
.anra-video__facts strong {
	display: block;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--anra-ink);
}
.anra-video__facts span {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.5;
	color: #666;
}

.anra-video__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 40px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
	.anra-video__facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
	.anra-award { padding: 4.5em 0; }
	.anra-award__grid {
		flex-direction: column;
		gap: 48px;
		text-align: center;
	}
	.anra-award__media { width: 100%; margin: 0 auto; }
	.anra-award__meta,
	.anra-award__actions { justify-content: center; }
	.anra-award__title,
	.anra-video__title { font-size: 32px; }
	.anra-video { padding: 4.5em 0 4em; }
}
@media (max-width: 600px) {
	.anra-eyebrow { font-size: 12px; letter-spacing: 2px; }
	.anra-award__body .anra-eyebrow::before { display: none; }
	.anra-award__title,
	.anra-video__title { font-size: 26px; }
	.anra-award__text,
	.anra-video__lead { font-size: 15px; }
	.anra-award__medal { width: 76px; height: 76px; }
	.anra-award__medal .fa { font-size: 22px; }
	.anra-award__medal span { font-size: 13px; }
	.anra-video__frame {
		border-radius: 16px;
		box-shadow: 0 30px 60px -30px rgba(20, 20, 21, .7), 0 0 0 5px #fff;
	}
	.anra-video__play {
		width: 72px;
		height: 72px;
		margin: -36px 0 0 -36px;
		font-size: 26px;
	}
	.anra-video__caption { left: 16px; right: 16px; bottom: 14px; }
	.anra-video__caption strong { font-size: 16px; }
	.anra-video__caption small { display: none; }
	.anra-video__facts { grid-template-columns: 1fr; }
	.anra-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.anra-js .anra-reveal { opacity: 1; transform: none; transition: none; }
	.anra-award__medal,
	.anra-video__play::before,
	.anra-video__play::after { animation: none; }
	.anra-award__card,
	.anra-award__media:hover .anra-award__card { transform: none; }
}
