/**
 * Titulo Slide Luma 360 - Estilos
 * Custom Luma Plugin
 * Fondo blanco, título, slide solo imágenes, fondo azul claro, arrows, dots, CTA fuera
 * Clases cl-titslide360__* para evitar conflictos
 */

/* === CONTENEDOR - FONDO BLANCO === */
.cl-titslide360 {
	background: #ffffff;
	padding: 56px 24px;
}
 
.cl-titslide360__inner {
	max-width: 1100px;
	margin: 0 auto;
}

/* === HEADER === */
.cl-titslide360__header { 
	text-align: center;
	margin-bottom: 32px;
}

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

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

/* === CARD - FONDO AZUL CLARO === */
.cl-titslide360__card {
	background: #e8f8fd;
	border: 1px solid rgba(14, 165, 233, 0.2);
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(2, 132, 199, 0.08);
	overflow: hidden;
	margin-bottom: 32px;
}

/* === SLIDER ROW - arrows fuera de la imagen ===  */
.cl-titslide360__slider-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 15px 8px;
}

/* === FRAME (solo imagen) === */
.cl-titslide360__frame {
	position: relative;
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: stretch;
	background: #e8f8fd;
	border-radius: 10px;
	min-height: 400px;
	overflow: hidden;
}

/* === BOTONES NAV - background #0EA5E966, chevron #0284C7 === */
.cl-titslide360 button.cl-titslide360__nav-btn,
.cl-titslide360__nav-btn {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border: none !important;
	border-radius: 12px;
	background: #0ea5e966 !important;
	background-color: #0ea5e966 !important;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, transform 0.2s;
	box-shadow: 0 2px 8px rgba(2, 132, 199, 0.2);
	padding: 0 !important; 
}

.cl-titslide360 .cl-titslide360__nav-icon,
.cl-titslide360__nav-icon {
	width: 24px;
	height: 24px;
	stroke: #0284c7 !important;
	fill: none !important;
}

.cl-titslide360__nav-btn:hover {
	background: #0ea5e999 !important;
	background-color: #0ea5e999 !important;
	transform: scale(1.05);
} 
/* === CONTENIDO === */
.cl-titslide360__content {
	flex: 1;
	position: relative;
	overflow: hidden;
}

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

.cl-titslide360__track {
	position: relative;
	width: 100%;
	height: 100%;
}
 
.cl-titslide360__slide {
	display: none;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

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

.cl-titslide360__img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}

.cl-titslide360__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 280px;
	background: #e8f8fd;
	color: #64748b;
	font-size: 14px;
}

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

.cl-titslide360__dot {
	width: 12px;
	height: 6px;
	border: none; 
	border-radius: 3px; 
	cursor: pointer;
	padding: 0;
	transition: background 0.2s, width 0.2s;
}
a.cl-titslide360__button {
    color: white;
}
.cl-titslide360__dot:hover {
	background: #0284c766;
}

.cl-titslide360__dot.is-active {
	width: 24px;
	height: 6px;
	border-radius: 3px;
	background: #0284c7;
}

/* === CTA - FUERA DEL CARD, gradient y texto blanco === */
.cl-titslide360__cta {
	text-align: center;
}

.cl-titslide360__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(135deg, #0ea5e9 0%, #0284c7 100%);
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
	transition: transform 0.2s, box-shadow 0.2s;
}

.cl-titslide360__button:hover {
	background: linear-gradient(135deg, #38b4ec 0%, #0369a1 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
	color: #ffffff;
	text-decoration: none;
}

.cl-titslide360__cta-sub {
	font-size: 13px;
	color: #6b7280;
	margin: 10px 0 0 0; 
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
	.cl-titslide360 {
		padding: 40px 16px;
	}

	.cl-titslide360__frame {
		min-height: 360px; 
	}

	.cl-titslide360__nav-btn {
		width: 44px;
		height: 44px;
	} 

	.cl-titslide360__nav-icon {
		width: 20px;
		height: 20px;
	}

	.cl-titslide360__slider-row {
		gap: 12px;
		padding: 0 4px;
	}

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

.cl-titslide360__nav-btn:focus,
.cl-titslide360__dot:focus,
.cl-titslide360__button:focus {
	outline: 2px solid #0ea5e9;
	outline-offset: 2px; 
}
