/* Camino VSL – contador de inscripciones y barra fija de la landing con el VSL. */

/* ---------- Sección del contador ---------- */
.cvsl-cd {
	position: relative;
	padding: clamp(64px, 9vw, 120px) 20px;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(ellipse 55% 60% at 50% 0%, rgba(124, 88, 196, .45) 0%, rgba(61, 40, 96, 0) 70%),
		radial-gradient(ellipse 45% 50% at 50% 100%, rgba(221, 185, 106, .18) 0%, rgba(196, 154, 69, 0) 70%),
		#0B0619;
	color: #FBF7EF;
	text-align: center;
}
.cvsl-cd::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(251, 215, 141, .5) 1px, transparent 1.4px); background-size: 46px 46px; opacity: .14; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.cvsl-cd__inner { max-width: 900px; margin: 0 auto; }
.cvsl-cd__title.cvsl-cd__title { margin: 0 0 14px; color: #FBF7EF; font-family: var(--f-title); font-size: clamp(30px, 4.4vw, 54px); font-weight: 300; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; }
.cvsl-cd__title b { color: #DDB96A; font-weight: 700; }
.cvsl-cd__text { max-width: 560px; margin: 0 auto 38px; color: rgba(251, 247, 239, .75); font-size: 17px; line-height: 1.6; }
.cvsl-cd__clock { display: flex; justify-content: center; gap: clamp(10px, 2vw, 22px); margin: 0 auto 40px; perspective: 600px; }
.cvsl-cd__unit { display: flex; flex-direction: column; align-items: center; gap: 10px; width: clamp(74px, 13vw, 140px); padding: clamp(16px, 2.4vw, 26px) 6px clamp(14px, 2vw, 20px); border: 1px solid rgba(221, 185, 106, .4); border-radius: 18px; background: linear-gradient(180deg, rgba(251, 247, 239, .08) 0%, rgba(251, 247, 239, .02) 100%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 24px 50px -24px rgba(0, 0, 0, .8), 0 0 40px -18px rgba(221, 185, 106, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cvsl-cd__unit b { display: block; background: linear-gradient(180deg, #FFF1CC 0%, #FBD78D 45%, #C49A45 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--f-title); font-size: clamp(38px, 6.4vw, 76px); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.cvsl-cd__unit b.is-tick { animation: cvsl-tick .45s cubic-bezier(.22, 1, .36, 1); }
@keyframes cvsl-tick { from { transform: translateY(-14%); opacity: .35; } to { transform: none; opacity: 1; } }
.cvsl-cd__unit span { color: rgba(251, 247, 239, .7); font-size: clamp(10px, 1.2vw, 12px); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.cvsl-cd__expired { margin: -14px 0 30px; color: #FBD78D; font-weight: 600; }
.cvsl-cd.is-over .cvsl-cd__clock { opacity: .4; }
.cvsl-cd .cvsl-btn.cvsl-btn.cvsl-btn { min-width: min(100%, 320px); }

/* ---------- Barra fija con el contador ---------- */
.cvsl-cdbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; transform: translateY(110%); transition: transform .55s cubic-bezier(.22, 1, .36, 1); pointer-events: none; }
.cvsl-cdbar.is-on { transform: none; pointer-events: auto; }
.cvsl-cdbar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, rgba(221, 185, 106, 0) 0%, rgba(251, 215, 141, .9) 50%, rgba(221, 185, 106, 0) 100%); }
.cvsl-cdbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; max-width: 1180px; margin: 0 auto; padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); color: #FBF7EF; }
.cvsl-cdbar { background: linear-gradient(180deg, rgba(23, 14, 44, .94) 0%, rgba(11, 6, 25, .97) 100%); box-shadow: 0 -18px 50px -20px rgba(0, 0, 0, .8), 0 -1px 40px -20px rgba(221, 185, 106, .4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.cvsl-cdbar__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cvsl-cdbar__label { display: inline-flex; align-items: center; gap: 10px; color: #FBF7EF; font-family: var(--f-title); font-size: 17px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.cvsl-cdbar__sub { padding-left: 18px; color: #DDB96A; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.cvsl-cdbar__dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #FBD78D; animation: cvsl-live 2s ease-out infinite; }
.cvsl-cdbar__clock { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.cvsl-cdbar__tile { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 56px; border: 1px solid rgba(221, 185, 106, .38); border-radius: 12px; background: linear-gradient(180deg, rgba(251, 247, 239, .09) 0%, rgba(251, 247, 239, .02) 100%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.cvsl-cdbar__tile b { display: block; background: linear-gradient(180deg, #FFF1CC 0%, #FBD78D 50%, #C49A45 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: 'Figtree', 'Nunito', system-ui, sans-serif; font-size: 23px; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cvsl-cdbar__tile b.is-tick { animation: cvsl-tick .45s cubic-bezier(.22, 1, .36, 1); }
.cvsl-cdbar__tile small { display: block; margin-top: 4px; line-height: 1; color: rgba(251, 247, 239, .55); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cvsl-cdbar__sep { color: rgba(221, 185, 106, .6); font-family: var(--f-title); font-size: 22px; font-style: normal; line-height: 1; transform: translateY(-6px); }
.cvsl-cdbar .cvsl-btn.cvsl-btn.cvsl-btn { flex: 0 0 auto; padding: 17px 30px; font-size: 12.5px; }
.cvsl-cdbar.is-over { display: none; }
/* Espacio al final de la página para que la barra no tape el pie (legales). */
body.cvsl-with-bar::after { content: ""; display: block; height: var(--cvsl-bar-h, 92px); background: #0B0619; }
@media (max-width: 860px) {
	.cvsl-cdbar__sub { display: none; }
	.cvsl-cdbar__label { font-size: 14px; }
}
@media (max-width: 680px) {
	.cvsl-cdbar__inner { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); }
	.cvsl-cdbar__info { align-self: center; }
	.cvsl-cdbar__label { gap: 8px; font-size: 12px; letter-spacing: .04em; white-space: normal; line-height: 1.25; }
	.cvsl-cdbar__clock { gap: 3px; }
	.cvsl-cdbar__tile { width: 44px; height: 46px; border-radius: 10px; }
	.cvsl-cdbar__tile b { font-size: 18px; }
	.cvsl-cdbar__tile small { margin-top: 2px; font-size: 7.5px; letter-spacing: .08em; }
	.cvsl-cdbar__sep { font-size: 16px; transform: translateY(-5px); }
	.cvsl-cdbar .cvsl-btn.cvsl-btn.cvsl-btn { grid-column: 1 / -1; width: 100%; padding: 14px 18px; }
	body.cvsl-with-bar::after { height: var(--cvsl-bar-h, 140px); }
}
@media (prefers-reduced-motion: reduce) {
	.cvsl-cd__unit b.is-tick, .cvsl-cdbar__dot { animation: none; }
}

/* ---------- Módulos: chip + título ---------- */
.cvsl-modt { display: inline-flex !important; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.cvsl-mod { flex: 0 0 auto; display: inline-flex; align-items: center; padding: 6px 13px 5px; border: 1px solid rgba(196, 154, 69, .55); border-radius: 30px; background: linear-gradient(135deg, #C49A45 0%, #DDB96A 100%); color: #0B0619; font-family: 'Figtree', 'Nunito', system-ui, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .14em; line-height: 1; text-transform: uppercase; white-space: nowrap; box-shadow: 0 6px 16px -8px rgba(196, 154, 69, .8); }
.cvsl-modt__name { min-width: 0; }
@media (max-width: 600px) {
	.cvsl-modt { gap: 8px; }
	.cvsl-mod { font-size: 10px; padding: 5px 10px 4px; }
	.cvsl-modt__name { flex: 1 1 100%; }
}

/* ---------- Animaciones ---------- */
.cvsl-scrollbar { position: fixed; top: 0; left: 0; right: 0; z-index: 99999; height: 3px; background: linear-gradient(90deg, #8B7FAF 0%, #C49A45 55%, #FBD78D 100%); box-shadow: 0 0 12px rgba(221, 185, 106, .7); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.admin-bar .cvsl-scrollbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .cvsl-scrollbar { top: 46px; } }
.cvsl-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.cvsl-w > span { display: inline-block; will-change: transform; }

/* Negrillas dentro de las tarjetas de Elementor (graduación) */
.cvsl-landing .elementor-icon-box-description strong, .cvsl-landing .elementor-icon-box-description b { font-weight: 800 !important; color: #3D2860; }
