/* KBO Hero & Marquee para Elementor — estilos base.
   Todos los valores de abajo son los DEFAULT; Elementor los sobrescribe con los controles. */

/* ============================== HERO ============================== */
.kbo-hero {
	--k-c1: #0089c8; --k-c2: #007CB7; --k-c3: #04456E; --k-c4: #021B2E; --k-angle: 135deg;
	--k-glow1: rgba(47, 194, 255, .55); --k-glow2: rgba(0, 124, 183, .75);
	--k-grid: rgba(143, 224, 255, .30); --k-sweep: rgba(47, 194, 255, .7); --k-sweep2: #8FE0FF;
	--k-blob1: #2FC2FF; --k-blob2: #0a63a0;
	--k-g1: #fff; --k-g2: #8FE0FF; --k-g3: #2FC2FF; --k-g4: #fff;
	--k-ring: rgba(143, 224, 255, .55); --k-shadow: rgba(0, 10, 25, .55);
	--k-wrap: 1200px; --k-gap: 40px;
	--k-ease: cubic-bezier(.2, .9, .25, 1);
	position: relative; isolation: isolate; z-index: 2; width: 100%; color: #fff;
	font-family: 'Montserrat', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
	background:
		radial-gradient(900px 560px at 78% 28%, var(--k-glow1), transparent 62%),
		radial-gradient(700px 500px at 6% 100%, var(--k-glow2), transparent 60%),
		linear-gradient(var(--k-angle), var(--k-c1) 0%, var(--k-c2) 22%, var(--k-c3) 58%, var(--k-c4) 100%);
}
.kbo-hero *, .kbo-hero *::before, .kbo-hero *::after { box-sizing: border-box; }
.kbo-hero p, .kbo-hero h1, .kbo-hero h2, .kbo-hero h3, .kbo-hero h4, .kbo-hero h5, .kbo-hero h6 { margin: 0; padding: 0; }
.kbo-hero a { text-decoration: none; }

/* Efectos de fondo (recortados dentro de la sección, la imagen sí puede salirse) */
.kbo-hero__fx { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.kbo-hero__grid, .kbo-hero__sweep, .kbo-hero__blob { display: none; }
.kbo-fxgrid-yes .kbo-hero__grid { display: block; position: absolute; left: -25%; right: -25%; bottom: -6%; height: 60%; transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%; background-image: linear-gradient(var(--k-grid) 1px, transparent 1px), linear-gradient(90deg, var(--k-grid) 1px, transparent 1px); background-size: 56px 56px, 56px 56px; animation: kbo-gridmove 4s linear infinite; -webkit-mask-image: linear-gradient(to top, #000 8%, transparent 86%); mask-image: linear-gradient(to top, #000 8%, transparent 86%); }
.kbo-fxsweep-yes .kbo-hero__sweep { display: block; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--k-sweep2), #fff, var(--k-sweep2), transparent); box-shadow: 0 0 26px 7px var(--k-sweep); animation: kbo-sweep 7s ease-in-out infinite; }
.kbo-fxblobs-yes .kbo-hero__blob { display: block; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: kbo-blob 14s ease-in-out infinite alternate; }
.kbo-hero__blob--1 { width: 440px; height: 440px; background: var(--k-blob1); top: -140px; right: 6%; }
.kbo-hero__blob--2 { width: 380px; height: 380px; background: var(--k-blob2); left: -120px; bottom: 8%; animation-delay: -6s; }

/* Estructura: la sección NO tiene padding inferior para que la imagen se pegue abajo */
.kbo-hero__wrap { position: relative; max-width: var(--k-wrap); margin: 0 auto; padding: 150px 24px 0; display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--k-gap); }
.kbo-hero__text { flex: 1 1 480px; min-width: 0; align-self: center; padding-bottom: 120px; }
.kbo-hero__media { flex: 1 1 480px; min-width: 0; min-height: 480px; position: relative; align-self: flex-end; display: flex; justify-content: center; align-items: flex-end; }

/* Etiqueta */
.kbo-hero .kbo-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; font-family: 'Poppins', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .26); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.kbo-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: #5fe0ff; animation: kbo-dot 2s infinite; flex: none; }

/* Título */
.kbo-hero .kbo-hero__title { margin-top: 22px; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 68px; line-height: 1.05; letter-spacing: -2px; color: #fff; perspective: 800px; }
.kbo-hero__title .w { display: inline-block; transform-origin: 50% 100%; }
.kbo-words-yes .kbo-hero__title .w { opacity: 0; animation: kbo-wordin 1s var(--k-ease) forwards; animation-delay: calc(.3s + var(--i, 0) * .09s); }
.kbo-hero .kbo-grad { background: linear-gradient(90deg, var(--k-g1), var(--k-g2), var(--k-g3), var(--k-g4)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.kbo-gshift-yes .kbo-grad { animation: kbo-gshift 7s linear infinite; }

/* Descripción */
.kbo-hero .kbo-hero__lead { margin-top: 24px; max-width: 560px; font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 18px; line-height: 1.65; color: #e3f3fc; }

/* Botones */
.kbo-hero__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.kbo-hero .kbo-btn { position: relative; overflow: hidden; isolation: isolate; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 14px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px; line-height: 1.2; color: #fff; border: 0 solid transparent; transition: transform .35s cubic-bezier(.2, .9, .3, 1.3), box-shadow .35s, background .3s, color .3s, border-color .3s; }
.kbo-hero .kbo-btn--1 { background: linear-gradient(135deg, #0aa3e6, #005F8F); box-shadow: 0 10px 30px rgba(0, 124, 183, .45); }
.kbo-hero .kbo-btn--2 { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.kbo-btn::after { content: ""; position: absolute; top: 0; left: -70%; width: 40%; height: 100%; z-index: -1; transform: skewX(-20deg); background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transition: left .8s ease; }
.kbo-btn:hover { transform: translateY(-3px) scale(1.02); }
.kbo-btn:hover::after { left: 140%; }
.kbo-btn__icon { display: inline-flex; font-size: 18px; line-height: 1; transition: transform .35s var(--k-ease); }
.kbo-btn__icon svg { width: 1em; height: 1em; fill: currentColor; }
.kbo-btn:hover .kbo-btn__icon--go { transform: translateX(5px); }

/* Datos */
.kbo-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.kbo-stat { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 18px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .35s var(--k-ease), background .3s; }
.kbo-stat:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .18); }
.kbo-stat__num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 24px; line-height: 1; color: #fff; }
.kbo-stat__text { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; color: #fff; }
.kbo-stat__icon { display: inline-flex; font-size: 22px; line-height: 1; color: #8FE0FF; }
.kbo-stat__icon svg { width: 1em; height: 1em; fill: currentColor; }

/* ---- Imagen anclada abajo ---- */
.kbo-hero__imgwrap { position: relative; z-index: 2; width: 82%; max-width: 100%; display: flex; justify-content: center; align-items: flex-end; --k-img-x: 0px; --k-img-y: 0px; }
.kbo-hero__img { display: block; width: 100%; height: auto; max-width: 100%; margin: 0; position: relative; z-index: 2; translate: var(--k-img-x) var(--k-img-y); filter: drop-shadow(0 24px 40px rgba(0, 16, 32, .45)); }
.kbo-ifloat-yes .kbo-hero__img { animation: kbo-floaty 6s ease-in-out infinite; }

.kbo-hero__shadow { display: none; position: absolute; left: 50%; bottom: -12px; width: 80%; height: 34px; transform: translateX(-50%); z-index: 1; background: radial-gradient(ellipse at center, var(--k-shadow) 0, transparent 70%); filter: blur(7px); pointer-events: none; }
.kbo-shadow-yes .kbo-hero__shadow { display: block; }

.kbo-hero__ring { display: none; position: absolute; left: 50%; bottom: 2%; width: 96%; height: auto; transform: translateX(-50%); z-index: 1; overflow: visible; pointer-events: none; }
.kbo-ring-yes .kbo-hero__ring { display: block; }
.kbo-hero__ring ellipse { fill: none; stroke: var(--k-ring); stroke-width: 2; stroke-dasharray: 18 14; animation: kbo-dash 16s linear infinite; }

/* Insignias */
.kbo-badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 18px; white-space: nowrap; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; line-height: 1.2; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px rgba(0, 16, 32, .35); }
.kbo-badge--1 { left: 0; top: 12%; } .kbo-badge--2 { left: 72%; top: 3%; } .kbo-badge--3 { left: 4%; top: 76%; }
.kbo-bfloat-yes .kbo-badge { animation: kbo-floaty 6s ease-in-out infinite; }
.kbo-badge__icon { display: inline-flex; font-size: 18px; line-height: 1; color: #8FE0FF; }
.kbo-badge__icon svg { width: 1em; height: 1em; fill: currentColor; }

.kbo-hint { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 4; padding: 7px 16px; border-radius: 999px; white-space: nowrap; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 12.5px; color: #d6efff; background: rgba(2, 27, 46, .45); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Entradas */
.kbo-anim-yes .kbo-up { opacity: 0; animation: kbo-up .95s var(--k-ease) forwards; animation-delay: var(--d, 0s); }

/* ============================== CINTILLO ============================== */
.kbo-mq { --k-mq-gap: 28px; --k-mq-dot: #2FC2FF; --k-mq-dotglow: rgba(47, 194, 255, .8); --k-mq-dotsize: 10px;
	position: relative; z-index: 1; overflow: hidden; width: 100%; padding: 26px 0; background: #01121f; border-block: 1px solid rgba(143, 224, 255, .14); }
.kbo-mq *, .kbo-mq *::before, .kbo-mq *::after { box-sizing: border-box; }
.kbo-mqfade-yes .kbo-mq { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.kbo-mq__track { display: flex; width: max-content; animation: kbo-mq 38s linear infinite; }
.kbo-mqpause-yes .kbo-mq:hover .kbo-mq__track { animation-play-state: paused; }
.kbo-mq__group { display: flex; flex: none; }
.kbo-mq .kbo-mq__item { display: inline-flex; align-items: center; gap: var(--k-mq-gap); padding-right: var(--k-mq-gap); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: .02em; line-height: 1.3; white-space: nowrap; text-decoration: none; }
.kbo-mq .kbo-mq__item--solid { color: #d6efff; }
.kbo-mq .kbo-mq__item--outline { color: transparent; -webkit-text-stroke: 1px rgba(143, 224, 255, .75); }
.kbo-mq a.kbo-mq__item { transition: color .25s; }
.kbo-mqdot-yes .kbo-mq__item::after { content: ""; flex: none; width: var(--k-mq-dotsize); height: var(--k-mq-dotsize); border-radius: 50%; background: var(--k-mq-dot); box-shadow: 0 0 14px 3px var(--k-mq-dotglow); }

/* ============================== MÓVIL ============================== */
@media (max-width: 1024px) {
	.kbo-hero__wrap { padding-top: 130px; }
	.kbo-hero__text { padding-bottom: 60px; }
	.kbo-hero__media { min-height: 420px; }
}
@media (max-width: 767px) {
	.kbo-hero__wrap { padding-top: 110px; }
	.kbo-hero__text { padding-bottom: 40px; }
	.kbo-hero__media { min-height: 320px; }
	.kbo-hero .kbo-hero__title { font-size: 38px; }
	.kbo-hero .kbo-hero__lead { font-size: 16px; }
	.kbo-hbm-yes .kbo-badge { display: none; }
}

/* ============================== ANIMACIONES ============================== */
@keyframes kbo-up { from { opacity: 0; transform: translateY(30px); filter: blur(6px); } to { opacity: 1; } }
@keyframes kbo-wordin { from { opacity: 0; transform: translateY(46px) rotateX(-45deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes kbo-gshift { to { background-position: 300% 0; } }
@keyframes kbo-floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes kbo-gridmove { to { background-position: 0 56px, 0 0; } }
@keyframes kbo-sweep { 0% { top: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes kbo-blob { to { transform: translate3d(60px, 50px, 0) scale(1.15); } }
@keyframes kbo-dot { 0% { box-shadow: 0 0 0 0 rgba(95, 224, 255, .7); } 100% { box-shadow: 0 0 0 12px rgba(95, 224, 255, 0); } }
@keyframes kbo-dash { to { stroke-dashoffset: -320; } }
@keyframes kbo-mq { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
	.kbo-hero *, .kbo-hero *::before, .kbo-hero *::after, .kbo-mq__track { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
	.kbo-anim-yes .kbo-up, .kbo-words-yes .kbo-hero__title .w { opacity: 1; }
	.kbo-mq__track { animation: none; }
}
