/* ---------- Barra de navegacion blanca ---------- */
.site-header, .site-header .site-header-row-container-inner { background-color: #FFFFFF !important; }
#masthead { border-bottom: 1px solid rgba(11, 42, 111, .12); box-shadow: 0 10px 30px -22px rgba(11, 42, 111, .45); }
.site-header .site-title, .site-header .site-title a { color: #0B2A6F !important; }
.site-header .main-navigation .primary-menu-container > ul > li.menu-item > a { color: #0B2A6F !important; }
.site-header .main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.site-header .main-navigation .primary-menu-container > ul > li.menu-item:hover > a,
.site-header .main-navigation .primary-menu-container > ul > li.current-menu-item > a { color: #2453E0 !important; }
.site-header .dropdown-nav-toggle, .site-header .dropdown-nav-special-toggle { color: inherit !important; }
.site-header .menu-toggle-open, .site-header .menu-toggle-open .menu-toggle-icon { color: #0B2A6F !important; }

/* Telarana del logo en azul marino sobre blanco, con gotitas lima */
.wb-lweb path { stroke: #0B2A6F; }
.wb-lweb--back { opacity: .35; }
.wb-lweb--front { filter: none; }
.wb-lweb--front path { stroke-opacity: .75; }
.wb-lweb__drop { fill: #C9F23A; stroke: #0B2A6F; stroke-width: .6; }

/* ---------- Cursor de Webbing (solo computadora) ---------- */
html.wb-cur-on, html.wb-cur-on body, html.wb-cur-on *:not(input):not(textarea):not(select):not([contenteditable="true"]) { cursor: none !important; }
.wb-cur { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; transition: opacity .25s ease; }
.wb-cur.is-hidden, .wb-cur.is-text { opacity: 0; }
.wb-cur__dot, .wb-cur__ring, .wb-cur__burst { position: fixed; left: 0; top: 0; will-change: transform; }
.wb-cur__dot i, .wb-cur__ring > i { position: absolute; left: 0; top: 0; display: block; border-radius: 50%; }
.wb-cur__dot i {
	width: 8px; height: 8px; margin: -4px 0 0 -4px;
	background: #0B2A6F; box-shadow: 0 0 0 2px #FFFFFF;
	transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.wb-cur__ring > i {
	width: 36px; height: 36px; margin: -18px 0 0 -18px;
	border: 1.5px solid rgba(11, 42, 111, .7);
	background: rgba(255, 255, 255, 0);
	display: flex; align-items: center; justify-content: center;
	transition: width .3s cubic-bezier(.2, .8, .2, 1), height .3s cubic-bezier(.2, .8, .2, 1), margin .3s cubic-bezier(.2, .8, .2, 1), background-color .25s ease, border-color .25s ease, transform .2s ease;
}
.wb-cur__web { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); opacity: 0; transition: opacity .25s ease; animation: wb-cur-spin 9s linear infinite; }
.wb-cur__web path { fill: none; stroke: #0B2A6F; stroke-width: 1.4; stroke-linecap: round; }
@keyframes wb-cur-spin { to { transform: rotate(360deg); } }
.wb-cur__label {
	position: relative; z-index: 1;
	font-family: var(--wb-head); font-weight: 700; font-size: 11px; letter-spacing: .02em;
	color: #0B2A6F; opacity: 0; transform: scale(.6);
	transition: opacity .2s ease, transform .3s cubic-bezier(.34, 1.5, .5, 1);
}

/* Sobre botones y enlaces */
.wb-cur.is-link .wb-cur__ring > i { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(201, 242, 58, .45); border-color: #0B2A6F; }
.wb-cur.is-link .wb-cur__dot i { transform: scale(.5); }

/* Sobre tarjetas: mini telarana girando */
.wb-cur.is-card .wb-cur__ring > i { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: rgba(201, 242, 58, .5); border-color: #0B2A6F; }
.wb-cur.is-card .wb-cur__web { opacity: .45; }
.wb-cur.is-card .wb-cur__label, .wb-cur.is-webi .wb-cur__label { opacity: 1; transform: scale(1); }
.wb-cur.is-card .wb-cur__dot i { transform: scale(0); }

/* Sobre Webi */
.wb-cur.is-webi .wb-cur__ring > i { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: #C9F23A; border-color: #0B2A6F; }
.wb-cur.is-webi .wb-cur__dot i { transform: scale(0); }

/* Sobre fondos azules (banners y paneles) */
.wb-cur.is-dark .wb-cur__dot i { background: #C9F23A; box-shadow: 0 0 0 2px #0B2A6F; }
.wb-cur.is-dark .wb-cur__ring > i { border-color: rgba(255, 255, 255, .85); }
.wb-cur.is-dark.is-link .wb-cur__ring > i { background: rgba(201, 242, 58, .3); border-color: #C9F23A; }

/* Al hacer clic */
.wb-cur.is-down .wb-cur__ring > i { transform: scale(.82); }
.wb-cur.is-down .wb-cur__dot i { transform: scale(1.5); }
.wb-cur__burst { width: 0; height: 0; }
.wb-cur__burst svg { position: absolute; left: -40px; top: -40px; width: 80px; height: 80px; overflow: visible; animation: wb-cur-burst .6s cubic-bezier(.2, .8, .2, 1) forwards; }
.wb-cur__burst path { fill: none; stroke-width: 1.4; stroke-linecap: round; }
@keyframes wb-cur-burst { from { transform: scale(.25) rotate(0deg); opacity: 1; } to { transform: scale(1.15) rotate(25deg); opacity: 0; } }

/* Hilo que cuelga de la tarjeta y seda que se teje sobre los banners */
.wb-cur__tether, .wb-cur__trail { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; }
.wb-cur__tether path { fill: none; stroke-width: 1.4; stroke-linecap: round; }

/* ---------- Rendimiento ---------- */
/* Fondo fijo del tamano de la pantalla (ya no se mueve) */
body::before { inset: 0 !important; animation: none !important; will-change: auto !important; }
body::after { content: none !important; display: none !important; }
/* Paneles azules sin difuminado en vivo: mismo aspecto, sin recalculo en cada cuadro */
.wb-glass,
.wb-page-hero > .wp-block-group__inner-container,
.wb-split .wb-split__grid > .wp-block-column:not(.wb-split__art),
.wb-extra .wb-extra__grid,
.wb-quote .wb-quote__grid > .wp-block-column:not(.wb-form-panel),
.wb-section--services > .wp-block-group__inner-container,
.wb-metrics__inner,
.wb-team-section > .wp-block-group__inner-container {
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
	background: rgba(11, 42, 111, .93) !important;
}
/* Parpadeo de Webi por temporizador, no por animacion infinita */
.wb-sp-eyes { animation: none !important; transition: transform .09s ease; }
.wb-sp.is-blink .wb-sp-eyes { transform: scaleY(.1); }
.is-sleeping .wb-sp-eyes { transform: scaleY(.12) !important; }
/* Telarana del logo: se balancea la capa entera (la mueve la placa de video) */
.wb-lweb__sway, .wb-lweb__swing, .wb-lweb__drop { animation: none !important; }
.wb-lweb { transform-origin: 8px 8px; will-change: transform; }
.wb-lweb--back { animation: wb-lsway-svg 4.5s ease-in-out infinite alternate; }
.wb-lweb--front { animation: wb-lfade .6s ease 1.5s forwards, wb-lsway-svg 4.5s ease-in-out infinite alternate; }
.wb-logoweb.is-shaking .wb-lweb--back { animation: wb-lshake-svg .7s ease-out, wb-lsway-svg 4.5s ease-in-out .7s infinite alternate; }
.wb-logoweb.is-shaking .wb-lweb--front { opacity: 1; animation: wb-lshake-svg .7s ease-out, wb-lsway-svg 4.5s ease-in-out .7s infinite alternate; }
@keyframes wb-lsway-svg { from { transform: rotate(-1.8deg); } to { transform: rotate(1.8deg); } }
@keyframes wb-lshake-svg { 0% { transform: rotate(0); } 20% { transform: rotate(-5deg) scale(1.03); } 40% { transform: rotate(4deg); } 60% { transform: rotate(-2.5deg); } 80% { transform: rotate(1.5deg); } 100% { transform: rotate(0); } }
/* La mini telarana del cursor solo gira sobre tarjetas */
.wb-cur__web { animation-play-state: paused; }
.wb-cur.is-card .wb-cur__web { animation-play-state: running; }
/* Escenas: sin filtros que se recalculan en cada cuadro, y mas compactas */
.wb-sw__web path { filter: none !important; }
.wb-sw__shadow { filter: brightness(0) blur(4px); }
.wb-sw { margin: clamp(0px, 1vw, 12px) auto !important; }
.wb-sw__stage { height: clamp(170px, 18vw, 230px) !important; }
@media (max-width: 781px) { .wb-sw__stage { height: 190px !important; } }
@media (prefers-reduced-motion: reduce) {
	.wb-lweb--back, .wb-lweb--front { animation: none !important; }
	.wb-lweb--front { opacity: 1 !important; }
}
/* ---------- Cursor sutil: mas chico y sin textos ---------- */
.wb-cur__label { display: none !important; }
.wb-cur__dot i { width: 6px; height: 6px; margin: -3px 0 0 -3px; box-shadow: 0 0 0 1.5px #FFFFFF; }
.wb-cur__ring > i { width: 26px; height: 26px; margin: -13px 0 0 -13px; border-width: 1px; border-color: rgba(11, 42, 111, .55); }
.wb-cur.is-link .wb-cur__ring > i { width: 38px; height: 38px; margin: -19px 0 0 -19px; background: rgba(201, 242, 58, .35); border-color: rgba(11, 42, 111, .7); }
.wb-cur.is-card .wb-cur__ring > i { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(201, 242, 58, .3); border-color: rgba(11, 42, 111, .6); }
.wb-cur.is-card .wb-cur__web { opacity: .35; }
.wb-cur.is-webi .wb-cur__ring > i { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: rgba(201, 242, 58, .6); border-color: rgba(11, 42, 111, .7); }
.wb-cur.is-dark .wb-cur__dot i { box-shadow: 0 0 0 1.5px #0B2A6F; }
.wb-cur.is-dark .wb-cur__ring > i { border-color: rgba(255, 255, 255, .65); }
.wb-cur.is-dark.is-link .wb-cur__ring > i { background: rgba(201, 242, 58, .22); border-color: rgba(201, 242, 58, .85); }
.wb-cur__burst svg { left: -26px; top: -26px; width: 52px; height: 52px; }