/* ==========================================================================
   GRUPO STI · Estilos del sitio
   Complementan los ajustes de Elementor (Kit global + controles de cada
   widget). Sólo contienen lo que los controles no cubren: efectos hover
   entre elementos, proporciones de imagen, líneas decorativas y estados.

   Convención: cada widget o contenedor lleva una clase "sti-<área>__<parte>"
   en Avanzado > Clases CSS. Los bloques de este archivo están ordenados por
   área para ubicar rápido dónde vive cada estilo.

   Colores (globales del Kit): azul rey #2359F6 · azul medio #3F8AF7 ·
   celeste #9CC6FA · dorado #EDC34B · azul marino #0B1C45.
   ========================================================================== */

:root {
	--sti-ease: cubic-bezier(.22, .61, .36, 1);
	--sti-sombra-sm: 0 1px 2px rgba(11, 28, 69, .04), 0 2px 10px rgba(11, 28, 69, .04);
	--sti-sombra-md: 0 6px 18px rgba(11, 28, 69, .06), 0 18px 44px rgba(11, 28, 69, .06);
}

/* ==========================================================================
   GLOBAL
   ========================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: #2359F6; color: #fff; }

/* Ancho de contenido único para todo el sitio: el mismo que usan el encabezado
   y el pie (1392 px). Las secciones se habían ido construyendo con 1192 px, así
   que quedaban 100 px más adentro por lado que el logotipo y el menú.

   Sólo afecta a los contenedores de primer nivel "en caja": los de ancho
   completo siguen a sangre, los anidados conservan el suyo y las ventanas
   emergentes quedan fuera. Por debajo de 1392 px de pantalla no cambia nada,
   porque ahí manda el 100 % del contenedor.

   El selector lleva una etiqueta más que el de Elementor
   (.elementor-<id> .elementor-element-<id>, de especificidad 0-3-0) para
   ganarle sin recurrir a !important. */
body :is(
	[data-elementor-type="wp-page"],
	[data-elementor-type="wp-post"],
	[data-elementor-type="single-post"],
	[data-elementor-type="single-page"],
	[data-elementor-type="archive"],
	[data-elementor-type="error-404"]
) > .e-con.e-con-boxed {
	--content-width: 1392px;
}

/* Archivo en su eje expandido (wdth), como el logotipo. Montserrat no
   tiene ese eje y lo ignora. */
.elementor-heading-title,
.elementor-icon-box-title,
.sti-articulo h2, .sti-articulo h3,
.sti-clausula h2,
.elementor-counter-number-wrapper { font-variation-settings: "wdth" 112; }
.elementor-button,
.elementor-nav-menu--main .elementor-item,
.e-n-accordion-item-title-text { font-variation-settings: "wdth" 104; }

.sti-texto p + p, .elementor-widget-text-editor p + p { margin-top: 16px; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* Símbolo de marca en parallax: decorativo, siempre detrás del contenido */
.sti-motivo { pointer-events: none; }
.sti-seccion > .e-con-inner > .e-con,
.sti-seccion > .e-con-inner > .elementor-widget:not(.sti-motivo) { position: relative; z-index: 1; }

/* Resaltados dentro de titulares (equivalen al <em> de la maqueta) */
.sti-resalta { color: #9CC6FA; }
.sti-hero .sti-resalta { color: #2359F6; font-weight: 600; }
.sti-fundacion__claim .sti-resalta { color: #3F8AF7; }

/* ==========================================================================
   BOTONES Y ENLACES
   ========================================================================== */
.sti-btn .elementor-button { transition: background-color .25s var(--sti-ease), color .25s var(--sti-ease), border-color .25s var(--sti-ease), transform .25s var(--sti-ease); }
.sti-btn .elementor-button:hover,
.sti-btn .elementor-button:focus-visible { transform: translateY(-2px); }
.sti-btn .elementor-button-icon svg { width: 13px; height: 13px; }

/* Enlace de texto en mayúsculas con flecha (patrón .enlace / .volver) */
.sti-enlace .elementor-button { line-height: 1; }
.sti-enlace .elementor-button-content-wrapper { transition: gap .25s var(--sti-ease); }
.sti-enlace .elementor-button:hover .elementor-button-content-wrapper { gap: 15px; }
.sti-enlace .elementor-button-icon svg { width: 12px; height: 12px; }
@media (pointer: coarse) { .sti-enlace .elementor-button { padding-block: 10px !important; } }

:focus-visible { outline: 2px solid #2359F6; outline-offset: 3px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.sti-header { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: box-shadow .3s var(--sti-ease); }
.sti-header.elementor-sticky--effects { box-shadow: var(--sti-sombra-sm); }

/* menú de escritorio: el desplegable de "Somos Grupo STI" */
.sti-header__menu .elementor-nav-menu--main .sub-menu {
	padding: 8px; min-width: 266px !important;
	box-shadow: 0 12px 28px rgba(11, 28, 69, .10), 0 32px 64px rgba(11, 28, 69, .10);
}
.sti-header__menu .elementor-nav-menu--main .sub-menu .elementor-sub-item {
	border-radius: 6px; white-space: nowrap; transition: background-color .2s, color .2s, padding-left .2s;
}
.sti-header__menu .elementor-nav-menu--main .sub-menu .elementor-sub-item:hover { padding-left: 20px; }
.sti-header__menu .elementor-nav-menu--main .elementor-item.has-submenu .sub-arrow svg { width: 10px; opacity: .55; }

/* menú responsive: botón con área táctil de 44 px que nunca se monta
   sobre el logotipo, y panel a todo el ancho bajo la barra */
.sti-header__menu .elementor-menu-toggle { width: 44px; height: 44px; justify-content: center; margin-left: auto; }
.sti-header__menu .elementor-nav-menu--dropdown {
	border-top: 1px solid #E4EAF4; box-shadow: 0 18px 40px rgba(11, 28, 69, .12);
	max-height: calc(100svh - 70px); overflow-y: auto;
}
.sti-header__menu .elementor-nav-menu--dropdown .elementor-item {
	font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 108; font-weight: 600;
	font-size: 15px; letter-spacing: .05em; text-transform: uppercase; color: #0B1C45;
	padding: 17px 24px !important; border-bottom: 1px solid #E4EAF4;
}
.sti-header__menu .elementor-nav-menu--dropdown .sub-menu .elementor-sub-item {
	font-family: "Montserrat", sans-serif; font-size: 14px; text-transform: none; letter-spacing: 0;
	font-weight: 400; padding: 12px 24px 12px 40px !important; border-bottom: 0;
}
@media (max-width: 1320px) and (min-width: 1025px) {
	.sti-header__menu .elementor-nav-menu--main .elementor-item { padding-left: 10px !important; padding-right: 10px !important; font-size: 11px !important; }
}

/* ==========================================================================
   HEADER · MENÚ RESPONSIVE (panel Off-Canvas a pantalla completa)
   ========================================================================== */
.sti-header__burger .elementor-icon { display: grid; place-items: center; width: 44px; height: 44px; }
.sti-movil__offcanvas { width: auto !important; }
.sti-movil__menu, .sti-movil__menu .elementor-nav-menu--main, .sti-movil__menu .elementor-nav-menu { width: 100%; }
.sti-movil__menu .elementor-nav-menu > li { width: 100%; border-bottom: 1px solid #E4EAF4; }
.sti-movil__menu .elementor-item { width: 100%; justify-content: space-between; font-variation-settings: "wdth" 108; }
.sti-movil__menu .elementor-item .sub-arrow svg { width: 15px; height: 15px; fill: #2359F6; transition: transform .3s; }
.sti-movil__menu .elementor-item.highlighted .sub-arrow svg { transform: rotate(180deg); }
.sti-movil__menu .sub-menu { position: static !important; width: 100% !important; border: 0 !important; box-shadow: none !important; background: transparent !important; margin: 0 !important; padding: 0 0 12px !important; }
.sti-movil__menu .sub-menu .elementor-sub-item {
	padding: 12px 0 12px 16px !important; border: 0; background: transparent !important;
	font-family: "Montserrat", sans-serif !important; font-size: 14px !important; font-weight: 400 !important;
	letter-spacing: 0 !important; text-transform: none !important; color: #4B5A78;
}
.sti-movil__pie .elementor-button { justify-content: center; }

/* ==========================================================================
   HOME · HERO
   ========================================================================== */
.sti-hero { position: relative; }
.sti-hero__carrusel { width: 100%; }
.sti-hero__carrusel .swiper-pagination { text-align: left; top: auto !important; bottom: clamp(24px, 4vh, 44px) !important; left: 0 !important; transform: none !important; width: auto !important; }
.sti-hero__carrusel .swiper-pagination-bullet { transition: width .3s var(--sti-ease), background-color .3s; opacity: 1; }
.sti-hero__carrusel .swiper-pagination-bullet-active { width: 30px; border-radius: 5px; background: #2359F6; }
.sti-hero__titulo .elementor-heading-title { text-wrap: balance; }
@media (max-width: 1024px) {
	/* los puntos quedan sobre la fotografía: se invierten para que se vean */
	.sti-hero__carrusel .swiper-pagination-bullet { background: rgba(255, 255, 255, .55); }
	.sti-hero__carrusel .swiper-pagination-bullet-active { background: #fff; }
}

/* ==========================================================================
   HOME · GRUPO EN CIFRAS (también en Divisiones)
   ========================================================================== */
/* La celda se declara contenedor para poder atar a su ancho el tamaño de la
   cifra: con 36 px fijos, la más larga (+Q101MM) se salía del recuadro. El
   tope mantiene los 36 px donde sí caben, y el 18cqi la encoge donde no. */
.sti-cifra { transition: background-color .3s var(--sti-ease); container-type: inline-size; }
.sti-cifra .elementor-icon svg { width: 22px; height: 22px; }
.sti-cifra__contador .elementor-counter { align-items: flex-start; }
.sti-cifra__contador .elementor-counter-number-prefix,
.sti-cifra__contador .elementor-counter-number-suffix { flex-grow: 0; }
.sti-cifra.e-con .sti-cifra__contador.elementor-widget-counter .elementor-counter-number-wrapper {
	font-size: min(36px, 18cqi);
	white-space: nowrap;
}

/* ==========================================================================
   HOME · NUESTRAS DIVISIONES (lista con hilo dorado + rueda de logotipos)
   ========================================================================== */
.sti-divis__item { position: relative; }
.sti-divis__item::after {
	content: ""; position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; height: auto; opacity: 1;
	background: rgba(237, 195, 75, .5); z-index: 0;
}
.sti-divis__item:first-child::after { top: 48px; }
.sti-divis__item:last-child::after { bottom: auto; height: 48px; }
.sti-divis__item + .sti-divis__item::before {
	content: ""; position: absolute; left: 78px; right: 0; top: 0; bottom: auto; width: auto; height: 1px; background: #E4EAF4; opacity: 1;
}
.sti-divis__ico { position: relative; z-index: 1; flex: 0 0 auto; }
@media (max-width: 767px) {
	.sti-divis__item::after { left: 23px; }
	.sti-divis__item + .sti-divis__item::before { left: 64px; }
}

.sti-rueda { position: relative; aspect-ratio: 1 / 1; max-width: 100%; margin-inline: auto; }
.sti-rueda > .elementor-widget-image { margin: 0 !important; }
@media (min-width: 1025px) {
	/* En escritorio la rueda se pega al margen derecho para alinearse con el
	   encabezado y el pie. Centrada en su columna se quedaba 82 px corta: el
	   hueco sobrante pasa entero al lado izquierdo. */
	.sti-rueda { margin-inline: auto 0; }
}
/* Caja del logotipo dentro de cada burbuja, que lee assets/js/grupo-sti.js.
   Cuadrada: el 100 % se resuelve siempre contra el ancho del contenedor,
   porque su alto depende de la propia imagen. */
.sti-rueda__marca { --sti-logo-max-w: 100%; --sti-logo-max-h: 100%; }
.sti-rueda__servicios img { width: 100%; filter: drop-shadow(0 26px 60px rgba(11, 28, 69, .20)); }
.sti-rueda__centro { transform: translate(-50%, -50%); }
.sti-rueda__centro img {
	width: 100%; aspect-ratio: 1; object-fit: contain; padding: 15%; border-radius: 50%; background: #fff;
	box-shadow: 0 14px 40px rgba(11, 28, 69, .22);
}
.sti-rueda__marca { transform: translate(-50%, -50%); }
.sti-rueda__marca a {
	display: grid; place-items: center; aspect-ratio: 1; padding: 18%; border-radius: 50%; background: #fff;
	box-shadow: 0 8px 22px rgba(11, 28, 69, .16); transition: transform .3s var(--sti-ease), box-shadow .3s var(--sti-ease);
}
.sti-rueda__marca img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sti-rueda__marca a:hover, .sti-rueda__marca a:focus-visible { transform: scale(1.09); box-shadow: 0 14px 34px rgba(11, 28, 69, .24); }

/* ==========================================================================
   HOME / UBICACIONES · COBERTURA (mapa con puntos y botones de país)
   ========================================================================== */
.sti-mapa .e-hotspot__button { white-space: nowrap; }
.sti-mapa__pista p { display: flex; align-items: center; gap: 8px; }
.sti-mapa__pista p::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #2359F6; flex: 0 0 auto; }

.sti-pais { transition: background-color .25s var(--sti-ease); cursor: pointer; }
.sti-pais .elementor-heading-title { transition: color .25s var(--sti-ease); }
.sti-pais__n { margin-left: auto; }
.sti-pais__n .elementor-heading-title { background: #EEF2F9; border-radius: 999px; padding: 3px 9px; }
.sti-pais:hover, .sti-pais:focus-visible { background-color: #0B1C45 !important; }
.sti-pais:hover .elementor-heading-title { color: #fff !important; }
.sti-pais:hover .sti-pais__n .elementor-heading-title { background: rgba(255, 255, 255, .16); }
.sti-pais:hover .elementor-icon { color: #9CC6FA !important; fill: #9CC6FA !important; }

/* ==========================================================================
   TARJETAS (servicios, pilares, empresas, documentos, sedes)
   ========================================================================== */
.sti-card { transition: box-shadow .35s var(--sti-ease), transform .35s var(--sti-ease), border-color .35s var(--sti-ease); }
.sti-card__figura { position: relative; overflow: hidden; }
.sti-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--sti-ease); }
.sti-card__img--alta img { aspect-ratio: 3 / 4; }
.sti-card:hover .sti-card__img img { transform: scale(1.05); }
.sti-card__etiqueta .elementor-heading-title { line-height: 1.4; }
.sti-card__pie { margin-top: auto; }
.sti-card__cuerpo { flex: 1 1 auto; }

.sti-pilar__ico .elementor-icon { background: rgba(255, 255, 255, .92) !important; }

/* Sin nada de tamano: el alto y el ancho de cada logotipo se ponen a mano en
   su propio widget de imagen de Elementor. Aqui solo queda el efecto. */
.sti-ecard__logo-img img { opacity: .72; transition: opacity .3s var(--sti-ease), transform .3s var(--sti-ease); }
/* Color del logotipo, que lee assets/js/grupo-sti.js: lo repinta del azul de
   marca para que las tarjetas se vean parejas aunque el archivo se suba a
   color, y para que funcione el cambio de intensidad al pasar el ratón.

   El TAMAÑO no lo decide el codigo, ni aqui ni en el script: se ajusta a mano,
   logo por logo, desde el widget de imagen de cada tarjeta en Elementor. Por
   eso esta zona no declara --sti-logo-max-w ni --sti-logo-max-h -sin esas dos
   caja() devuelve null y el script no toca la geometria- y la regla de arriba
   ya no lleva max-width ni max-height. Si se vuelve a poner un tope aqui, lo
   que se escriba en el editor dejara de respetarse. */
.sti-ecard__logo-img {
	text-align: center;
	--sti-logo-color: var(--e-global-color-secondary, #0B1C45);
}
.sti-ecard:hover .sti-ecard__logo-img img { opacity: 1; transform: scale(1.04); }
a.sti-card, a.sti-card:hover { color: inherit; }

.sti-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sti-media--alto img { aspect-ratio: 3 / 4; }
.sti-franja img { width: 100%; }

/* Valores: círculo con borde fino que se rellena al pasar el cursor.
   Los COLORES del hover se eligen en el widget de icono de Elementor; aquí
   sólo quedan la forma, la transición y el desplazamiento. Quien ata el hover
   de la tarjeta con el del icono es el bloque "hover de una pieza" de
   assets/js/grupo-sti.js, que copia las reglas que el propio Elementor generó
   para ".elementor-icon:hover": si mañana cambian en el editor, cambian
   también al pasar el cursor por el titular o por el párrafo.

   Las dos últimas reglas son la reserva por si ese script no llegara a correr.
   Tampoco traen colores escritos a mano: leen los del Kit. */
.sti-valor__icono .elementor-icon { background: #fff !important; border: 1.5px solid #E4EAF4; transition: background-color .3s, color .3s, border-color .3s, transform .3s; }
.sti-valor:hover .sti-valor__icono .elementor-icon { border-color: transparent; transform: translateY(-4px); }
.sti-valor:hover .sti-valor__icono .elementor-icon { background-color: var(--e-global-color-primary) !important; color: var(--e-global-color-blanco) !important; }
.sti-valor:hover .sti-valor__icono .elementor-icon svg { fill: var(--e-global-color-blanco) !important; }

/* Razones del Home */
.sti-razon:hover .elementor-icon { background-color: #2359F6 !important; fill: #fff !important; color: #fff !important; }

/* ==========================================================================
   NUESTRA HISTORIA · LÍNEA DE TIEMPO
   ========================================================================== */
.sti-tl { position: relative; }
@media (min-width: 1025px) {
	.sti-tl { grid-template-rows: 1fr 1fr !important; min-height: 500px; padding-right: 30px !important; column-gap: 20px !important; row-gap: 0 !important; }
	/* Elementor usa ::before/::after del contenedor para sus capas: se fijan
	   las medidas para que no hereden el 100% de alto */
	.sti-tl::before { content: ""; position: absolute; left: 0; right: 26px; top: calc(50% - 2px); bottom: auto; width: auto; height: 0; border-top: 4px dashed rgba(63, 138, 247, .42); transform: none; background: none; opacity: 1; }
	.sti-tl::after { content: ""; position: absolute; right: 0; left: auto; top: calc(50% - 10px); bottom: auto; width: 0; height: 0; background: none; opacity: 1; border-left: 18px solid rgba(63, 138, 247, .6); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
	.sti-tl__hito { position: relative; padding-left: 17px !important; }
	.sti-tl__hito--arriba { justify-content: flex-end !important; padding-bottom: 30px !important; }
	.sti-tl__hito--abajo { justify-content: flex-start !important; padding-top: 30px !important; }
	.sti-tl__hito::before { content: ""; position: absolute; left: 0; width: 2px; height: auto; background: rgba(11, 28, 69, .30); opacity: 1; }
	.sti-tl__hito--arriba::before { top: 4px; bottom: 0; }
	.sti-tl__hito--abajo::before { top: 0; bottom: 4px; }
	.sti-tl__hito::after { content: ""; position: absolute; left: -6px; width: 14px; height: 14px; opacity: 1; border-radius: 50%; background: #fff; border: 3px solid rgba(63, 138, 247, .55); }
	.sti-tl__hito--arriba::after { bottom: -7px; }
	.sti-tl__hito--abajo::after { top: -7px; }
}
@media (max-width: 1024px) {
	.sti-tl { padding-left: 30px !important; row-gap: 0 !important; }
	.sti-tl::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 26px; width: 0; height: auto; border-left: 4px dashed rgba(63, 138, 247, .42); background: none; opacity: 1; }
	.sti-tl::after { content: ""; position: absolute; left: 0; top: auto; bottom: 0; width: 0; height: 0; background: none; opacity: 1; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 18px solid rgba(63, 138, 247, .6); }
	.sti-tl__hito { position: relative; padding-bottom: 32px !important; }
	.sti-tl__hito::after { content: ""; position: absolute; left: -30px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid rgba(63, 138, 247, .55); }
}

/* Marco del video institucional */
.sti-marco__play .elementor-icon { box-shadow: 0 10px 30px rgba(11, 28, 69, .28); }

/* ==========================================================================
   CLIENTES · MARQUESINA
   ========================================================================== */
.sti-clientes {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
/* La caja del logo va en variables porque assets/js/grupo-sti.js la lee para
   recortar el margen sobrante de los archivos que se suben sin recortar. */
.sti-clientes__carrusel { --sti-logo-max-w: 172px; --sti-logo-max-h: 48px; }
.sti-clientes__carrusel .swiper-wrapper { transition-timing-function: linear !important; }
.sti-clientes__carrusel .swiper-slide { height: 64px; display: flex; align-items: center; justify-content: center; }
.sti-clientes__carrusel .swiper-slide-image {
	max-height: var(--sti-logo-max-h); max-width: var(--sti-logo-max-w); width: auto; margin: auto; object-fit: contain;
	filter: brightness(0) saturate(0) opacity(.34); transition: filter .35s var(--sti-ease);
}
.sti-clientes__carrusel .swiper-slide:hover .swiper-slide-image { filter: brightness(0) saturate(0) opacity(.8); }
/* El silueteado de arriba (brightness(0)) necesita que el logo traiga canal
   alfa. Un JPG, o un PNG/WebP con el fondo aplanado, se pintaría como un
   rectángulo negro. A esos se les da escala de grises y se funden con el fondo
   claro de la sección. La clase la pone assets/js/grupo-sti.js al cargar cada
   imagen, así que la marquesina admite cualquier formato sin tocar el código. */
.sti-clientes__carrusel .swiper-slide-image.es-logo-opaco {
	filter: grayscale(1) contrast(1.08) opacity(.55);
	mix-blend-mode: multiply;
}
.sti-clientes__carrusel .swiper-slide:hover .swiper-slide-image.es-logo-opaco {
	filter: grayscale(1) contrast(1.08) opacity(.95);
}
@media (max-width: 767px) {
	.sti-clientes__carrusel { --sti-logo-max-w: 132px; --sti-logo-max-h: 38px; }
	.sti-clientes__carrusel .swiper-slide { height: 54px; }
}

/* ==========================================================================
   CABECERAS DE PÁGINA (fotografía, empresa) Y MIGAS DE PAN
   ========================================================================== */
.sti-phead__titulo .elementor-heading-title { max-width: 20ch; }
.sti-phead__bajada p { max-width: 62ch; }
.sti-migas a { transition: color .2s; }
.sti-migas .breadcrumb_last { color: #2359F6; }
.sti-migas--clara .breadcrumb_last { color: #9CC6FA; }
.sti-migas p, .sti-migas span > span { margin: 0; }
.sti-ehead__logo-img img { max-height: 96px; width: auto; max-width: 100%; object-fit: contain; }

/* ==========================================================================
   EMPRESAS · ÍNDICE POR DIVISIÓN
   ========================================================================== */
.sti-indice__enlace .elementor-button { padding: 6px 0 !important; }
.sti-empresas__grupo { scroll-margin-top: 110px; }

/* ==========================================================================
   FORMULARIOS (campos, estados de error y éxito)
   ========================================================================== */
.sti-form .elementor-field-group .elementor-field-textual,
.sti-form .elementor-field-group select { transition: border-color .2s var(--sti-ease), box-shadow .2s var(--sti-ease); }
.sti-form .elementor-field-textual:focus,
.sti-form .elementor-select-wrapper select:focus { outline: none; border-color: #3F8AF7 !important; box-shadow: 0 0 0 3px rgba(63, 138, 247, .14); }
.sti-form textarea { resize: none; min-height: 120px; }
.sti-form .elementor-field-textual::placeholder { color: #71809E; opacity: 1; }
.sti-form .elementor-field-group > label.sw-floating-label,
.formsw .sw-floating-label {
	color: #71809E; opacity: 1; font-family: "Montserrat", sans-serif; font-weight: 400; font-size: 15px;
	letter-spacing: 0; text-transform: none; line-height: 1;
}
.sti-footer__suscribe .formsw .sw-floating-label, .sti-footer__suscribe .sw-floating-label { font-size: 13px; }
/* la etiqueta flotante se ancla a la altura del campo: el mensaje de error
   que Elementor inserta debajo no la desplaza */
.formsw .sw-floating-field > input ~ .sw-floating-label { top: 25px; }
.sti-footer__suscribe .sw-floating-field > input ~ .sw-floating-label { top: 22px; }
.formsw .sw-floating-field.is-focused .sw-floating-label,
.formsw .sw-floating-field.has-value .sw-floating-label { color: #2359F6; opacity: 1; }
.sti-form .elementor-select-wrapper .select-caret-down-wrapper { color: #4B5A78; }

/* aceptación de términos */
.sti-form .elementor-field-type-acceptance .elementor-field-subgroup label,
.sti-form .elementor-field-type-acceptance .elementor-field-option label {
	font-family: "Montserrat", sans-serif; font-size: 13px; line-height: 1.6; color: #71809E; font-weight: 300;
	letter-spacing: 0; text-transform: none;
}
.sti-form .elementor-field-type-acceptance .elementor-field-option { display: flex; gap: 9px; align-items: flex-start; }
.sti-footer__suscribe .elementor-field-type-acceptance label { font-size: 11px !important; }
.sti-form .elementor-field-type-acceptance a { text-decoration: underline; }
.sti-form .elementor-field-type-acceptance input { width: 16px; height: 16px; accent-color: #2359F6; margin-top: 3px; }
@media (pointer: coarse) { .sti-form .elementor-field-type-acceptance input { width: 20px; height: 20px; } }

/* adjuntar CV */
.sti-form .elementor-field-type-upload input[type="file"] {
	width: 100%; padding: 26px 20px; border: 1.5px dashed #D3DDEE; border-radius: 18px; background: #FAFBFD;
	color: #4B5A78; font-size: 14px; cursor: pointer; transition: border-color .25s, background-color .25s;
}
.sti-form .elementor-field-type-upload input[type="file"]:hover { border-color: #3F8AF7; background: #fff; }
.sti-form .elementor-field-type-upload input[type="file"]::file-selector-button {
	margin-right: 14px; padding: 10px 16px; border: 0; border-radius: 6px; background: #2359F6; color: #fff;
	font-family: "Archivo", sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.sti-form__ayuda { margin: 0; font-size: 13px; color: #71809E; }
.sti-form__ayuda strong { color: #0B1C45; font-weight: 600; }

/* estados de error: campo en rojo + mensaje bajo el campo */
.sti-form .elementor-field-group.elementor-error .elementor-field,
.sti-form .elementor-field-textual:user-invalid,
.sti-form select:user-invalid {
	border-color: #C0352B !important; box-shadow: 0 0 0 3px rgba(192, 53, 43, .10) !important;
}
.sti-form .elementor-field-group .elementor-message.elementor-help-inline,
.sti-form .elementor-field-group .elementor-message {
	width: 100%; margin-top: 6px; font-size: 12px; line-height: 1.5; color: #C0352B;
}
.sti-form .elementor-message.elementor-message-danger {
	display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; margin-top: 14px; border-radius: 6px;
	background: #FDF1F0; border: 1px solid #F1C6C2; color: #9B2A21; font-size: 13px;
}
.sti-form .elementor-message.elementor-message-success {
	display: flex; gap: 8px; align-items: center; padding: 12px 14px; margin-top: 14px; border-radius: 6px;
	background: #EAF3EC; border: 1px solid #BBDCC4; color: #1F6B38; font-size: 13px;
}
.sti-form .elementor-message::before { display: none; }

/* botón de envío */
.sti-form .e-form__buttons .elementor-button { transition: background-color .25s, transform .25s; }
.sti-form .e-form__buttons .elementor-button:hover { transform: translateY(-2px); }
.sti-form .elementor-button[disabled], .sti-form .elementor-form-waiting .elementor-button { opacity: .7; cursor: progress; }

/* caja del formulario y panel lateral */
.sti-form-caja .sti-form__intro { margin-bottom: 26px; }
.sti-form-caja .elementor-widget-heading + .elementor-widget-form,
.sti-form-caja .elementor-widget-heading + .sti-form__intro { margin-top: 0; }
.sti-plazas a { overflow-wrap: anywhere; }
.sti-plaza:first-child { border-top: 1px solid #E4EAF4; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.sti-footer { position: relative; }
.sti-footer__logo img { width: 122px; height: auto; }
.sti-footer__redes .elementor-social-icon { border: 1px solid #E4EAF4; }
.sti-footer__datos a { transition: color .2s; }
/* El menú del pie nunca se compacta en un botón: los enlaces se acomodan
   en varias líneas cuando falta espacio. */
.sti-footer__menu .elementor-nav-menu--main .elementor-nav-menu { display: flex; flex-wrap: wrap; row-gap: 6px; }
.sti-footer__menu .elementor-menu-toggle { display: none !important; }
.sti-footer__menu .elementor-nav-menu--main { display: block !important; }
/* suscripción compacta en dos líneas */
.sti-footer__suscribe .elementor-field-type-acceptance { align-self: center; }
.sti-footer__suscribe .elementor-field-group { margin-bottom: 10px; }
/* los botones flotantes viven en la esquina derecha: el pie les deja sitio */
@media (min-width: 1025px) {
	.sti-footer__suscribe { padding-right: 74px !important; }
	.sti-footer__base { padding-right: 74px !important; }
}
@media (max-width: 767px) {
	.sti-footer__base { padding-bottom: 96px !important; }
}

/* ==========================================================================
   BLOG · LISTADO Y ARTÍCULO
   ========================================================================== */
.sti-posts .elementor-post { transition: box-shadow .35s var(--sti-ease), transform .35s var(--sti-ease), border-color .35s; }
.sti-posts .elementor-post:hover { box-shadow: var(--sti-sombra-md); transform: translateY(-5px); border-color: transparent !important; }
.sti-posts .elementor-post__thumbnail img { transition: transform .7s var(--sti-ease); }
/* Cuando el widget de entradas usa proporción fija, Elementor centra la
   miniatura con position:absolute más transform: scale(1.01) translate(-50%,-50%).
   Si el :hover sobrescribe el transform sin repetir ese translate, la imagen
   salta a una esquina. El translate va primero para que la escala no lo
   multiplique y el encuadre no se desplace al ampliar. */
.sti-posts .elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail img {
	transform: translate(-50%, -50%) scale(1.01);
}
.sti-posts .elementor-posts-container.elementor-has-item-ratio .elementor-post:hover .elementor-post__thumbnail img {
	transform: translate(-50%, -50%) scale(1.08);
}
.sti-posts .elementor-posts-container:not(.elementor-has-item-ratio) .elementor-post:hover .elementor-post__thumbnail img {
	transform: scale(1.08);
}
.sti-posts .elementor-post__thumbnail__link { margin-bottom: 0 !important; }
.sti-posts .elementor-post__read-more { font-variation-settings: "wdth" 104; }
.sti-posts .elementor-post__meta-data { border: 0 !important; }

/* La columna del artículo venía con un ancho fijo de 760 px dentro de su
   sección; se estira para acompañar el ancho de contenido del sitio. */
body.single-post .elementor-location-single .sti-articulo__col { width: 100%; }

/* La cabecera del artículo va sobre fotografía: las migas en blanco al 78 %
   y el último nivel en celeste no se leían, y la bajada heredaba el azul
   oscuro del texto de cuerpo. Todo el bloque pasa a blanco sólido. */
body.single-post .sti-phead .sti-migas,
body.single-post .sti-phead .sti-migas a,
body.single-post .sti-phead .sti-migas .breadcrumb_last,
body.single-post .sti-phead__bajada {
	color: #FFFFFF;
}
body.single-post .sti-phead .sti-migas a:hover { color: #FFFFFF; text-decoration: underline; }

.sti-articulo { color: #4B5A78; }
.sti-articulo p { margin: 22px 0 0; font-weight: 300; font-size: 17px; line-height: 1.9; }
.sti-articulo p.sti-articulo__entrada {
	margin-top: 0; font-size: 19px; line-height: 1.75; font-weight: 400; color: #0B1C45;
	border-left: 3px solid #2359F6; padding-left: 20px;
}
.sti-articulo h2 { margin: 48px 0 0; font-size: 24px; line-height: 1.25; font-weight: 500; color: #0B1C45; }
.sti-articulo h3 { margin: 34px 0 0; font-size: 19px; font-weight: 600; color: #0B1C45; }
.sti-articulo ul { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sti-articulo ul li { display: flex; gap: 12px; font-weight: 300; font-size: 16px; line-height: 1.8; }
.sti-articulo ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2359F6; flex: 0 0 auto; margin-top: 11px; }
.sti-articulo ul li b, .sti-articulo ul li strong { color: #0B1C45; font-weight: 600; }
.sti-articulo figure { margin: 44px 0 0; }
.sti-articulo figure img { width: 100%; height: auto; border-radius: 18px; }
.sti-articulo figcaption { margin-top: 12px; font-size: 12px; color: #71809E; text-align: center; }
.sti-articulo blockquote {
	margin: 44px 0 0; padding: 26px 30px; border-left: 3px solid #2359F6; background: #F5F7FB;
	border-radius: 0 12px 12px 0; font-size: 17px; color: #0B1C45; font-weight: 500; line-height: 1.7;
}
.sti-articulo blockquote p { margin: 0; font-size: inherit; font-weight: inherit; color: inherit; }
.sti-articulo__meta a { color: #2359F6 !important; font-weight: 700; }
/* compartir: mismo botón cuadrado de redes del pie */
.sti-compartir__botones .elementor-share-btn { width: 36px !important; height: 36px !important; border-radius: 6px !important; border: 1px solid #E4EAF4 !important; background: #fff; transition: background-color .25s, transform .25s; }
.sti-compartir__botones .elementor-share-btn:hover { background: #2359F6 !important; border-color: #2359F6 !important; transform: translateY(-2px); }
.sti-compartir__botones .elementor-share-btn:hover .elementor-share-btn__icon { color: #fff !important; }
.sti-compartir__botones .elementor-share-btn__icon svg { fill: currentColor; width: 15px; }

/* ==========================================================================
   PÁGINAS LEGALES (aviso de privacidad, términos)
   ========================================================================== */
.sti-legal__indice-lista .elementor-icon-list-item a,
.sti-legal__indice-lista .elementor-icon-list-item > .elementor-icon-list-text {
	display: block; padding: 8px 12px; border-radius: 6px; transition: background-color .2s, color .2s;
}
.sti-legal__indice-lista .elementor-icon-list-icon { display: none !important; }
.sti-legal__indice-lista .elementor-icon-list-item a:hover { background: #F5F7FB; }
.sti-clausula { scroll-margin-top: 110px; }
.sti-legal__texto > .sti-clausula ~ .sti-clausula { margin-top: 52px; padding-top: 44px; border-top: 1px solid #E4EAF4; }
.sti-clausula h2 { margin: 0; display: flex; gap: 12px; align-items: baseline; font-size: 20px; font-weight: 600; line-height: 1.35; color: #0B1C45; }
.sti-clausula h2 span { font-size: 13px; color: #2359F6; font-weight: 700; font-variant-numeric: tabular-nums; }
.sti-clausula p { margin-top: 16px; max-width: 72ch; }
.sti-clausula ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; max-width: 72ch; }
.sti-clausula ul li { display: flex; gap: 12px; font-size: 15px; color: #4B5A78; }
.sti-clausula ul li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #2359F6; flex: 0 0 auto; margin-top: 11px; }
.sti-clausula ul li b { color: #0B1C45; font-weight: 600; }
@media (max-width: 1024px) {
	.sti-legal__indice-lista .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 6px; }
	.sti-legal__indice-lista .elementor-icon-list-item a { border: 1px solid #E4EAF4; border-radius: 999px; padding: 7px 13px; }
}

/* ==========================================================================
   PREGUNTAS FRECUENTES
   ========================================================================== */
.sti-faq .e-n-accordion-item-title { transition: color .2s var(--sti-ease); }
.sti-faq .e-n-accordion-item-title-icon svg { width: 14px; }
.sti-faq .e-n-accordion-item > .e-con a { text-decoration: underline; }

/* ==========================================================================
   BOTONES FLOTANTES DEL TEMA (WhatsApp y volver arriba)
   ========================================================================== */
/* el Kit de Elementor da estilo a todos los <button>: aquí se recupera el
   círculo blanco de la maqueta */
body .hello-child-back-to-top {
	width: 46px; height: 46px; min-width: 46px; min-height: 46px; padding: 0 !important;
	border: 1px solid #E4EAF4 !important; border-radius: 50% !important;
	background: #fff !important; color: #0B1C45 !important; box-shadow: var(--sti-sombra-md) !important;
	font: 600 20px/1 "Montserrat", sans-serif !important; letter-spacing: 0 !important; text-transform: none !important;
}
body .hello-child-back-to-top:hover,
body .hello-child-back-to-top:focus-visible { background: #0B1C45 !important; color: #fff !important; }
@media (max-width: 680px) { body .hello-child-back-to-top { width: 40px; height: 40px; min-width: 40px; min-height: 40px; right: 14px !important; bottom: 14px !important; } }

/* ==========================================================================
   ANIMACIONES DE ENTRADA (mismo recorrido que el .revela de la maqueta)
   Las animaciones se eligen en cada contenedor/widget de Elementor
   (Avanzado > Efectos de movimiento > Animación de entrada). Aquí sólo se
   suaviza el recorrido de "Fade In Up": 20 px en 0.8 s, como el sitio local.
   ========================================================================== */
@keyframes stiFadeInUp { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: none; } }
@keyframes stiFadeIn { from { opacity: 0; } to { opacity: 1; } }
.elementor-element.animated.fadeInUp { animation-name: stiFadeInUp; animation-duration: .8s; animation-timing-function: cubic-bezier(.22, .61, .36, 1); }
.elementor-element.animated.fadeIn { animation-name: stiFadeIn; animation-duration: .8s; animation-timing-function: cubic-bezier(.22, .61, .36, 1); }

/* ==========================================================================
   HOME · MAPA: puntos con pulso (2.8 s, escalonado 0.5 s por país)
   ========================================================================== */
.sti-mapa .e-hotspot__button { background: transparent !important; box-shadow: none !important; padding: 0 !important; gap: 8px; }
.sti-mapa .e-hotspot__label {
	color: #0B1C45; font-family: "Archivo", sans-serif; font-weight: 700; font-size: 14px;
	text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 6px #fff, 0 0 6px #fff;
}
.sti-mapa .e-hotspot__icon { position: relative; width: 15px; height: 15px; display: grid; place-items: center; }
.sti-mapa .e-hotspot__icon svg { width: 15px !important; height: 15px !important; fill: #fff !important; stroke: #0B1C45; stroke-width: 96px; overflow: visible; position: relative; z-index: 1; }
.sti-mapa .e-hotspot__icon::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fff; opacity: .55;
	animation: stiPulsoMapa 2.8s cubic-bezier(.22, .61, .36, 1) infinite;
}
.sti-mapa .e-hotspot:nth-of-type(2) .e-hotspot__icon::before { animation-delay: .5s; }
.sti-mapa .e-hotspot:nth-of-type(3) .e-hotspot__icon::before { animation-delay: 1s; }
.sti-mapa .e-hotspot:nth-of-type(4) .e-hotspot__icon::before { animation-delay: 1.5s; }
.sti-mapa .e-hotspot:hover .e-hotspot__label { color: #2359F6; }
@keyframes stiPulsoMapa { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(3); opacity: 0; } }

/* ==========================================================================
   HOME · HERO: las diapositivas se funden (1.1 s) en vez de deslizarse y el
   texto entra escalonado, como en la maqueta.
   ========================================================================== */
.sti-hero__carrusel .swiper-wrapper { display: grid !important; transform: none !important; transition: none !important; }
/* todas las diapositivas ocupan la misma celda: el hero mide lo que la más
   alta y la página no salta al cambiar de mensaje */
.sti-hero__carrusel .swiper-slide {
	grid-area: 1 / 1; width: 100% !important; margin: 0 !important;
	opacity: 0; visibility: hidden; transition: opacity 1.1s cubic-bezier(.22, .61, .36, 1), visibility 1.1s;
}
.sti-hero__carrusel .swiper-slide.swiper-slide-active { opacity: 1; visibility: visible; z-index: 1; }
.sti-hero__carrusel .swiper-slide .sti-hero__caja > .elementor-element { opacity: 0; transform: translateY(18px); }
.sti-hero__carrusel .swiper-slide-active .sti-hero__caja > .elementor-element {
	opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.22, .61, .36, 1) .15s, transform .9s cubic-bezier(.22, .61, .36, 1) .15s;
}
.sti-hero__carrusel .swiper-slide-active .sti-hero__caja > .elementor-element:nth-child(2) { transition-delay: .28s; }
.sti-hero__carrusel .swiper-slide-active .sti-hero__caja > .elementor-element:nth-child(3) { transition-delay: .4s; }

/* ==========================================================================
   REGRESAR (shortcode [back] del tema) con el estilo de enlace de la maqueta
   ========================================================================== */
.sti-regresar .sw-back-button {
	min-height: 0; padding: 4px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
	font-family: "Archivo", sans-serif; font-variation-settings: "wdth" 104; font-weight: 600; font-size: 11px;
	letter-spacing: .12em; text-transform: uppercase; color: #2359F6; gap: 10px;
	transition: gap .25s cubic-bezier(.22, .61, .36, 1), color .25s;
}
.sti-regresar .sw-back-button:hover,
.sti-regresar .sw-back-button:focus { background: transparent; box-shadow: none; transform: none; color: #0B1C45; gap: 16px; }
.sti-regresar .sw-back-button__icon { font-size: 14px; }
@media (pointer: coarse) { .sti-regresar .sw-back-button { padding-block: 10px; } }

/* ==========================================================================
   ACCESIBILIDAD: menos movimiento
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.elementor-invisible { visibility: visible !important; }
	.animated { animation: none !important; }
	.sti-clientes__carrusel .swiper-wrapper { transition-duration: 0s !important; }
	.sti-mapa .e-hotspot__icon::before { animation: none; }
}
