/**
 * Video Luma 360 - Estilos
 * Custom Luma Plugin
 * Diseño: título, card oscura (video + beneficios), CTA
 * Clases cl-video360__* para evitar conflictos con Elementor/sitio
 */
 
/* === CONTENEDOR === */
.cl-video360 {
	background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 50%, #e8f4fc 100%);
	padding: 56px 24px;
}

.cl-video360__inner {
	max-width: 1100px;
	margin: 0 auto;
}

/* === HEADER / TÍTULO === */
.cl-video360__header {
	text-align: center;
	margin-bottom: 32px;
}

.cl-video360__title {
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 800;
	line-height: 1.3;
	color: #1a1a1a;
	margin: 0 0 8px 0;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.cl-video360__title-highlight {
	font-size: clamp(18px, 2.5vw, 24px);
	font-weight: 700;
	color: #007bff;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* === CARD EXTERNA === */
.cl-video360__card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	margin-bottom: 32px;
}

/* === FRAME OSCURO (navy blue) === */
.cl-video360__frame {
	position: relative;
	display: flex;
	align-items: stretch;
	background: #1a2d6e;
	border-radius: 12px;
	margin: 8px;
	min-height: 380px;
}

/* === FLECHAS === */
.cl-video360__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: rgba(52, 182, 255, 0.35);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, transform 0.2s;
}

.cl-video360__arrow:hover {
	background: rgba(52, 182, 255, 0.6);
	transform: translateY(-50%) scale(1.05);
}

.cl-video360__arrow--prev {
	left: 12px;
}

.cl-video360__arrow--next {
	right: 12px;
}

/* === CONTENIDO (video + beneficios) === */
.cl-video360__content {
	flex: 1;
	position: relative;
	overflow: hidden;
}

.cl-video360__slider-wrap {
	width: 100%;
	height: 100%;
}

.cl-video360__track {
	position: relative;
	width: 100%;
	height: 100%;
}

.cl-video360__slide {
	display: none;
	width: 100%;
	height: 100%;
	flex-direction: row;
	align-items: stretch;
}

.cl-video360__slide.is-active {
	display: flex;
}

/* === PANEL VIDEO (ancho completo) === */
.cl-video360__video-panel {
	flex: 1;
	width: 100%;
	min-width: 0; 
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #1a2d6e;
}

.cl-video360__video-bg {
	position: absolute;
	inset: 0;
	background-image: 
		linear-gradient(rgba(52, 182, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(52, 182, 255, 0.03) 1px, transparent 1px);
	background-size: 24px 24px;
	pointer-events: none;
}

.cl-video360__video-container {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 280px;
	z-index: 1;
}

.cl-video360__iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
	border-radius: 8px;
}

/* === DOTS === */
.cl-video360__dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	padding: 16px 0;
} 

.cl-video360__dot {
	width: 10px;
	height: 10px;
	border: none;
	border-radius: 50%;
	background: #cbd5e1;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s, transform 0.2s;
}

.cl-video360__dot:hover {
	background: #94a3b8;
	transform: scale(1.1);
}

.cl-video360__dot.is-active {
	background: #007bff;
	transform: scale(1.2);
}

/* === CTA === */
.cl-video360__cta {
	text-align: center;
}

.cl-video360__button {
	display: inline-block;
	padding: 16px 40px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #ffffff;
	text-decoration: none;
	background: linear-gradient(180deg, #34b6ff 0%, #007bff 100%);
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(0, 123, 255, 0.4);
	transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cl-video360__button:hover {
	background: linear-gradient(180deg, #5ac5ff 0%, #0066d6 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
	color: #ffffff;
	text-decoration: none;
}

.cl-video360__cta-sub {
	font-size: 13px;
	color: #4a5568;
	margin: 10px 0 0 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* === RESPONSIVE: TABLET === */
@media (max-width: 1024px) {
	.cl-video360__video-panel {
		min-height: 260px;
	}
}
 
/* === RESPONSIVE: MÓVIL === */
@media (max-width: 768px) {
	.cl-video360 {
		padding: 40px 16px;
	}

	.cl-video360__header {
		margin-bottom: 24px;
	}

	.cl-video360__frame {
		min-height: auto;
		margin: 6px;
	}

	.cl-video360__video-container {
		min-height: 220px;
	}

	.cl-video360__arrow {
		width: 36px; 
		height: 36px;
		font-size: 20px;
	}

	.cl-video360__arrow--prev {
		left: 8px;
	}

	.cl-video360__arrow--next {
		right: 8px;
	}

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

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

	.cl-video360__video-container {
		min-height: 200px;
	}
}

/* === ACCESIBILIDAD === */
@media (prefers-reduced-motion: reduce) {
	.cl-video360__arrow:hover,
	.cl-video360__button:hover,
	.cl-video360__dot:hover {
		transform: none;
	}
}

.cl-video360__arrow:focus,
.cl-video360__dot:focus,
.cl-video360__button:focus {
	outline: 2px solid #007bff;
	outline-offset: 2px;
}
