/**
 * Hexfy Producto estrella - Widget Elementor
 * Tarjeta oscura dos columnas: texto + lista con checks, botón blanco, imagen en caja teal, barra de estado
 */

.hexfy-pcard {
	--hexfy-pcard-bg: #0f172a;
	--hexfy-pcard-card: #1d2336;
	--hexfy-pcard-accent: #5d8bce;
	--hexfy-pcard-text: #fff;
	--hexfy-pcard-muted: #94a3b8;
	--hexfy-pcard-image-box: #336b69;
	--hexfy-pcard-radius: 16px;
	--hexfy-pcard-radius-inner: 12px;
}

.hexfy-pcard { 
	background: var(--hexfy-pcard-bg);
	padding: 3rem 1.5rem;
}

.hexfy-pcard__card {
	max-width: 1100px;
	margin: 0 auto;
	background: var(--hexfy-pcard-card);
	border-radius: var(--hexfy-pcard-radius);
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hexfy-pcard__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding: 2rem;
}

@media (min-width: 992px) {
	.hexfy-pcard__inner {
		grid-template-columns: 1.2fr 1fr;
		gap: 2.5rem;
		padding: 2.5rem;
		align-items: center;
	}
}

/* Columna contenido */
.hexfy-pcard__content {
	color: var(--hexfy-pcard-text);
}

.hexfy-pcard__callout {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.hexfy-pcard__callout-icon {
	display: inline-flex;
	color: var(--hexfy-pcard-accent);
}

.hexfy-pcard__callout-icon i,
.hexfy-pcard__callout-icon svg {
	width: 1.125rem;
	height: 1.125rem;
}

.hexfy-pcard__callout-text {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hexfy-pcard-accent);
}

.hexfy-pcard__title {
	font-size: clamp(1.5rem, 3vw, 1.875rem);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 1rem;
	letter-spacing: -0.02em;
}

.hexfy-pcard__desc {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--hexfy-pcard-muted);
	margin: 0 0 1.5rem;
}

/* Descripción con scroll automático vertical */
.hexfy-pcard__desc-wrap {
	overflow: hidden;
	max-height: 6.5em;
	margin: 0 0 1.5rem;
}

.hexfy-pcard__desc-wrap .hexfy-pcard__desc {
	margin: 0 0 1rem;
} 

.hexfy-pcard__desc-wrap .hexfy-pcard__desc:last-child {
	margin-bottom: 0;
}

.hexfy-pcard__desc-scroll {
	animation: hexfy-pcard-desc-scroll var(--hexfy-pcard-scroll-speed, 12s) linear infinite;
}

.hexfy-pcard__desc-scroll:hover {
	animation-play-state: paused;
}

@keyframes hexfy-pcard-desc-scroll {
	0% {
		transform: translateY(0);
	}
	100% {
		transform: translateY(-50%);
	}
}

.hexfy-pcard__features {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.hexfy-pcard__feature {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--hexfy-pcard-muted);
}

.hexfy-pcard__feature-icon {
	color: var(--hexfy-pcard-accent);
	font-weight: 700;
	flex-shrink: 0;
}

.hexfy-pcard__btn {
	display: inline-block;
	padding: 0.875rem 1.5rem;
	background: var(--hexfy-pcard-btn-bg, #3b82f6);
	color: var(--hexfy-pcard-btn-text, #fff);
	border: 2px solid var(--hexfy-pcard-btn-bg, #3b82f6);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: var(--hexfy-pcard-radius-inner);
	transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hexfy-pcard__btn:hover {
	opacity: 0.95;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Columna imagen */
.hexfy-pcard__media {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
}

.hexfy-pcard__image-box {
	background: var(--hexfy-pcard-image-box);
	border-radius: var(--hexfy-pcard-radius-inner);
	padding: 2rem;
	min-height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hexfy-pcard__image {
	max-width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
}

.hexfy-pcard__status {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	background: rgba(30, 41, 59, 0.6);
	border-radius: 9999px;
	border: 1px solid rgba(248, 250, 252, 0.1);
}

.hexfy-pcard__status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
	flex-shrink: 0;
	animation: hexfy-pcard-pulse 2s ease-in-out infinite;
}

@keyframes hexfy-pcard-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.6; }
}

.hexfy-pcard__status-text {
	font-size: 0.8125rem;
	color: var(--hexfy-pcard-muted);
}

/* Orden en móvil: contenido primero */
@media (max-width: 991px) {
	.hexfy-pcard__media {
		order: -1;
	}
}

/* Fade-in */
.hexfy-pcard--fade-in .hexfy-pcard__animate {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hexfy-pcard--fade-in.hexfy-pcard--visible .hexfy-pcard__content {
	transition-delay: 0.1s;
}

.hexfy-pcard--fade-in.hexfy-pcard--visible .hexfy-pcard__media {
	transition-delay: 0.2s;
}

.hexfy-pcard--fade-in.hexfy-pcard--visible .hexfy-pcard__animate {
	opacity: 1;
	transform: translateY(0);
}
