/**
 * Comparta Luma 360 - Estilos
 * Custom Luma Plugin
 * Comparación: items con check (azul) o X (rojo)
 * UX mobile: columnas apiladas
 */

/* === CONTENEDOR === */
.compartaluma360 {
	background: #fff;
	padding: 56px 24px;
}
 
.compartaluma360__inner {
	max-width: 1000px;
	margin: 0 auto;
}

/* === TÍTULO === */
.compartaluma360__title {
	font-size: clamp(24px, 3.5vw, 36px);
	font-weight: 800;
	line-height: 1.3;
	color: #1a1a1a;
	text-align: center;
	margin: 0 0 12px 0;
}

.compartaluma360__title-line {
	width: 120px;
	height: 4px;
	background: #25c8ff;
	margin: 0 auto 36px auto;
	border-radius: 2px;
}

/* === GRID DOS COLUMNAS === */
.compartaluma360__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 36px;
}

.compartaluma360__col {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Títulos de columna */
.compartaluma360__col-title {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 12px 16px;
	border-radius: 6px;
	margin: 0;
	border-left: 4px solid;
}

.compartaluma360__col-title--left {
	background: #fef2f2;
	border-left-color: #ef4444; 
	color: #ef4444;
}

.compartaluma360__col-title--right {
	background: #ecfeff;
	border-left-color: #0ea5e9;
	color: #0ea5e9;
}

/* === LISTA === */
.compartaluma360__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.compartaluma360__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 14px;
	font-size: 15px;
	line-height: 1.5;
	color: #333;
}

.compartaluma360__item:last-child {
	margin-bottom: 0;
}

/* Iconos */
.compartaluma360__icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-top: 2px;
}

.compartaluma360__icon--check {
	background: #00ccff;
	border-radius: 50%;
	position: relative;
}
 
.compartaluma360__icon--check::after {
	content: '';
	position: absolute;
	left: 7px;
	top: 4px;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.compartaluma360__icon--x {
	background: transparent;
	border-radius: 0;
	position: relative;
}

.compartaluma360__icon--x::before,
.compartaluma360__icon--x::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 12px;
	height: 2px;
	background: #ef4444;
}

.compartaluma360__icon--x::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.compartaluma360__icon--x::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

/* Lista única (modo single) */
.compartaluma360__list--single {
	max-width: 640px;
	margin: 0 auto 36px auto;
}

/* === BOTÓN CTA === */
.compartaluma360__cta {
	text-align: center;
}

.compartaluma360__button {
	display: inline-block;
	padding: 16px 36px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #fff;
	text-decoration: none;
	background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compartaluma360__button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
	color: #fff;
	text-decoration: none;
}

.compartaluma360__button:active {
	transform: translateY(0);
}

/* === RESPONSIVE: TABLET === */
@media (max-width: 1024px) {
	.compartaluma360 {
		padding: 48px 20px;
	}

	.compartaluma360__grid {
		gap: 20px;
		margin-bottom: 32px;
	}
}

/* === RESPONSIVE: MÓVIL === */
@media (max-width: 768px) {
	.compartaluma360 {
		padding: 40px 16px;
	}

	.compartaluma360__title {
		font-size: 22px;
		margin-bottom: 10px;
	}

	.compartaluma360__title-line {
		margin-bottom: 28px;
	}

	.compartaluma360__grid {
		grid-template-columns: 1fr;
		gap: 28px;
		margin-bottom: 28px;
	}

	.compartaluma360__col-title {
		font-size: 13px;
		padding: 10px 14px;
	}

	.compartaluma360__item {
		font-size: 14px;
		margin-bottom: 12px;
	}

	.compartaluma360__icon {
		width: 20px;
		height: 20px;
	}

	.compartaluma360__icon--check::after {
		left: 6px;
		top: 3px;
		width: 5px;
		height: 9px;
	}

	.compartaluma360__button {
		padding: 14px 28px;
		font-size: 14px;
		width: 100%;
		max-width: 320px;
	}
}

/* === MÓVIL PEQUEÑO === */
@media (max-width: 480px) {
	.compartaluma360 {
		padding: 32px 12px;
	}

	.compartaluma360__title {
		font-size: 20px;
	}
}

/* === ACCESIBILIDAD === */
@media (prefers-reduced-motion: reduce) {
	.compartaluma360__button {
		transition: none;
	}

	.compartaluma360__button:hover {
		transform: none;
	}
}

.compartaluma360__button:focus {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
}

.compartaluma360__button:focus:not(:focus-visible) {
	outline: none;
}
